Coder Social home page Coder Social logo

kokensha / book-ml Goto Github PK

View Code? Open in Web Editor NEW
40.0 40.0 29.0 125.28 MB

書籍「今すぐ試したい!機械学習・深層学習(ディープラーニング)画像認識プログラミングレシピ」のソースコードを配布するレポジトリです。

License: MIT License

Jupyter Notebook 99.86% Dockerfile 0.01% Python 0.07% CSS 0.01% JavaScript 0.02% HTML 0.04% Shell 0.01%
ai book chainer deep-learning google-colab google-colaboratory jupyter-notebook keras keras-tensorflow machine-learning movidius opencv opencv-python python python3 pytorch raspberry-pi raspberry-pi-3 raspberry-pi-camera tensorflow

book-ml's Issues

Docker-composeができません。

P.267にあるDocker-composeができません。以下のように、cv2がインポートできないようです。
↓以下の記事も参考にdockerfileを書き換えたりもしてみましたが、うまくできませんでした。
https://qiita.com/narista/items/a3d7d26ae50d54c2553a

Dockerに詳しくないので、どう解決すれば良いかがわかりません。よろしければ解決策を、自己解決するためにはどのように学習をすれば良いのかを、教えてください。

(ドキュメント)docker-python3-flask-ml-app % docker-compose up
Creating network "docker-python3-flask-ml-app_default" with the default driver
Creating docker-python3-flask-ml-app_server_1 ... done
Attaching to docker-python3-flask-ml-app_server_1
server_1 | Traceback (most recent call last):
server_1 | File "app.py", line 14, in
server_1 | import cv2
server_1 | File "/usr/local/lib/python3.5/site-packages/cv2/init.py", line 5, in
server_1 | from .cv2 import *
server_1 | ImportError: libGL.so.1: cannot open shared object file: No such file or directory
docker-python3-flask-ml-app_server_1 exited with code 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.