Last active
April 12, 2018 04:33
-
-
Save yampy/65b977ae3b097926df865d9c30382841 to your computer and use it in GitHub Desktop.
YOLOv2(Keras / TensorFlow)でディープラーニングによる画像の物体検出を行う ref: https://qiita.com/yampy/items/7a705acf4c6899bc11c7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/allanzelener/YAD2K.git | |
cd yad2k | |
pip install numpy h5py pillow | |
pip install tensorflow-gpu | |
pip install keras |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://pjreddie.com/media/files/yolo.weights | |
wget https://raw.githubusercontent.com/pjreddie/darknet/master/cfg/yolo.cfg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./yad2k.py yolo.cfg yolo.weights model_data/yolo.h5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./test_yolo.py model_data/yolo.h5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment