lfz / DSB2017

The solution of team 'grt123' in DSB2017
MIT License
1.23k stars 420 forks source link

LabelMapping error #70

Closed aguang1201 closed 6 years ago

aguang1201 commented 6 years ago

I modified the source in python3.6.when run detector/main.py,flow errors accur: File "/home/panotech/PycharmProjects/DSB2017/training/detector/data.py", line 277, in call assert (input_size[i] % stride == 0) It's assert error.I don't know why input_size[i] % stride != 0. Would I delete the assert,or modified it like : output_size.append(int(input_size[i] / stride)) Thank you.

lleewwiiss commented 6 years ago

Try ensuring that your label files are in the same order on path as your img files, you may have labels assigned to the wrong images.

aguang1201 commented 6 years ago

@lleewwiiss Thank you.I will try it.

Se1f0 commented 2 years ago

I got the same issue , how did u fix it @aguang1201 ?