Open ijsmallman opened 7 years ago
Hey,bro! I met the same problem,have you solve it?
Just delete it or change len so that it checks the length of the relevant vector.
I had so many issues getting caffe to run with python 3 that I gave up in the end and just went with darknet/tensorflow.
There are lots of issues that python 2 let slip through the net but python 3 wont. Good luck
@ijsmallman thank you very much! I had delete len>0;but there is another problem TypeError: 0.0 has type <class 'float'>, but expected one of: (<class 'int'>,)
I had exactly that problem. You can cast it to an int but then you will have problems later. Like I said, I gave up with Caffe, it is just a mess.
Issue summary
caffe/python/caffe/model_libs.py line 16:
assert len > 0
Steps to reproduce
Your system configuration
Operating system: Ubuntu 16.04 LTS Compiler: Not relevant CUDA version (if applicable): Not relevant CUDNN version (if applicable): Not relevant BLAS: Not relevant Python or MATLAB version (for pycaffe and matcaffe respectively): Python 3.5.2