dlandon / zoneminder.machine.learning

Zoneminder Docker
GNU General Public License v2.0
318 stars 143 forks source link

New image still downloading opencv 4.2 #117

Closed peste85 closed 4 years ago

peste85 commented 4 years ago

I pulled the latest image today and tried to run yolo4 however i got some errors. When doing some investigating it seems that it downloads and installs version 4.2 which is incompatible with yolov4.

in the script 40_firstrun.sh, line 364

pip3 install opencv-contrib-python -> This installs version 4.2

On another note you have a type also on line 413

wget https://raw.githubusercontent.com/pjreddie/darknet/master/data/coco.names -O /config/hook/models/yolov4/coco.nanes

you have nanes and it should be names #

dlandon commented 4 years ago

The typo is fixed.

opencv-contrib-python version 4.2 is what comes from the Ubuntu repostory. You'll have to wait for 4.3 to be available in the repository.