Exception generator has no attribute next
Opened this issue · 6 comments
Hi
I encounter the following error on line 265 of train_frcnn.py
Exception generator has no attribute next
due to
X, Y, img_data = data_gen_train.next() on line 167
Could you please help me out :)
I even tried this
X, Y, img_data = next(data_gen_train)
instead of
X, Y, img_data = data_gen_train.next()
but get an Exception error
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train_frcnn.py", line 265, in
print('Exception: {}'.format(e))
KeyboardInterrupt
Have you solved this problem?
I meet the same problme, have you solved it?
try data_get_train.__next__()
but I meet another exception when cal roi
try
data_get_train.__next__()
but I meet another exception when cal roi
this repository has some problems, there is a fixed one, https://github.com/you359/Keras-FasterRCNN
thx a lot ,and I also fixed this repo and it now works well on my own dataset