Machine learning is a transcendental beginner who has touched php-ml for a while, but I got into image recognition.
The first goal is to detect an object from a given miscellaneous photo.
I don't understand anything
When I went through it properly, there were a lot of stories that did not work with the combination of library versions, so I do not understand very much.
So I stopped thinking and tried to put in the latest version without thinking for the time being
Most of the articles are more than half a year old, there are many ones that are one year, two years or more old, it's a trendy neighborhood, and even the latest ones are working properly (a rough idea) I'm collecting old versions one by one And that alone will break my heart
I made various trials and errors without knowing anything, but as a final form, I generally follow the article below. At first I tried ssd_keras, but it became completely unclear and I repartitioned Ta
[OK in 5 minutes] Move YOLOv3 with Keras and challenge object detection![Keras-yolov3]
anaconda
As of February 2020, the latest version is python3.7 By the way, since I'm studying, I'm doing it roughly on my Windows, but when I go around properly, there are articles that I do not understand, such as "TensorFlow does not work with python 3.6" and "I put 3.6 because it does not work with 3.7". It comes out, for the time being, there is only 3.7 in the installer dropdown, I don't know, 3.7 Irel
This is no problem
↑ Refer to the article and put it in
python convert.py yolov3.cfg yolov3.weights model_data/yolo.h5
I got an error Error on TensorBoard
pip uninstall h5py
pip install h5py
I still get an error
pip uninstall keras
pip install keras
I got it with this
I did it
So, I'm not sure about the version, but for the time being, I put in the latest one and was able to detect the object.
By the way, the pip list is below
Package Version
-------------------- -------------------
absl-py 0.9.0
asn1crypto 1.3.0
astor 0.8.1
blinker 1.4
cachetools 4.0.0
certifi 2019.11.28
cffi 1.14.0
chardet 3.0.4
Click 7.0
cryptography 2.8
cycler 0.10.0
gast 0.2.2
google-auth 1.11.2
google-auth-oauthlib 0.4.1
google-pasta 0.1.8
grpcio 1.27.2
h5py 2.10.0
idna 2.9
Keras 2.3.1
Keras-Applications 1.0.8
Keras-Preprocessing 1.1.0
kiwisolver 1.1.0
Markdown 3.2.1
matplotlib 3.1.3
mkl-fft 1.0.15
mkl-random 1.1.0
mkl-service 2.3.0
numpy 1.18.1
oauthlib 3.1.0
olefile 0.46
opt-einsum 3.1.0
Pillow 7.0.0
pip 20.0.2
protobuf 3.11.4
pyasn1 0.4.8
pyasn1-modules 0.2.8
pycparser 2.19
PyJWT 1.7.1
pyOpenSSL 19.1.0
pyparsing 2.4.6
pyreadline 2.1
PySocks 1.7.1
python-dateutil 2.8.1
PyYAML 5.3
requests 2.23.0
requests-oauthlib 1.3.0
rsa 4.0
scipy 1.4.1
setuptools 45.2.0.post20200210
six 1.14.0
tensorboard 2.1.0
tensorflow 2.1.0
tensorflow-estimator 2.1.0
termcolor 1.1.0
tornado 6.0.3
urllib3 1.25.8
Werkzeug 1.0.0
wheel 0.34.2
win-inet-pton 1.1.0
wincertstore 0.2
wrapt 1.12.0
Recommended Posts