scaelles / DEXTR-PyTorch

Deep Extreme Cut http://www.vision.ee.ethz.ch/~cvlsegmentation/dextr
GNU General Public License v3.0
843 stars 153 forks source link

IndexError: index 0 is out of bounds for axis 0 with size 0 #25

Closed Hhy1024 closed 4 years ago

Hhy1024 commented 4 years ago

when I run demo.py,it shows demo,what's wrong with the code?

scaelles commented 4 years ago

Hello,

Another user reported a similar problem and in his/her case changing to Python 3.6 fixed the issue: https://github.com/scaelles/DEXTR-KerasTensorflow/issues/1

Let us know if that helps!

Hhy1024 commented 4 years ago

Hello,

Another user reported a similar problem and in his/her case changing to Python 3.6 fixed the issue: scaelles/DEXTR-KerasTensorflow#1

Let us know if that helps!

Thx for your reply!But my python version is python,it still gets the same error

kmaninis commented 4 years ago

Hi, did you use the pytorch version that is recommended?