Stinky-Tofu / Stronger-yolo

🔥Improve yolo with latest paper
MIT License
3 stars 0 forks source link

self.__steps_per_period 错误, numpy.float64' object cannot be interpreted as an integer #58

Open tianyexing opened 5 years ago

tianyexing commented 5 years ago

Traceback (most recent call last): File "train.py", line 161, in Yolo_train().train() File "train.py", line 31, in init self.steps_per_period = len(self.train_data)
TypeError: 'numpy.float64' object cannot be interpreted as an integer 有人知道这里怎么改吗? 我用的python3.6,别的问题基本改掉了,只剩下这个问题。

lukaisheng1203 commented 5 years ago

这个是怎么改的啊

zhangyufei1995 commented 5 years ago

兄弟 你解决了吗 我也是py3.6

eleflea commented 5 years ago

@airu924123 @zhangyufei1995 将data.py第83行改为__next__