Open sangthian opened 7 years ago
I also have the same error message on running demo.py
.
I use Ubuntu 16.04 and installed opencv via pip install opencv-python
.
@tegg89 @Jmx5200 This has nothing to do with YOLO2-Pytorch. You should re-install opencv package. It works well for me.
conda remove opencv
conda update conda
conda install --channel menpo opencv
For more detail, see https://stackoverflow.com/questions/40207011/opencv-not-working-properly-with-python-on-linux-with-anaconda-getting-error-th
conda install --channel menpo opencv
doesn't work for me.
But pip install opencv-python
works.
after running
python demo.py
, an error occur.I install all the packages in anaconda's
pytorch
env. my opencv is 2.4.10( conda install opencv=2.4.10)