FasterRCNN_KERAS icon indicating copy to clipboard operation
FasterRCNN_KERAS copied to clipboard

Exception generator has no attribute next

Open raghavgurbaxani opened this issue 6 years ago • 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 :)

raghavgurbaxani avatar Apr 18 '18 03:04 raghavgurbaxani

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

raghavgurbaxani avatar Apr 18 '18 22:04 raghavgurbaxani

Have you solved this problem?

jiuhuazhao avatar Aug 29 '18 02:08 jiuhuazhao

I meet the same problme, have you solved it?

wangames avatar Mar 15 '19 12:03 wangames

try data_get_train.__next__() but I meet another exception when cal roi

Julymycin avatar Apr 07 '19 22:04 Julymycin

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

wangames avatar Apr 09 '19 07:04 wangames

thx a lot ,and I also fixed this repo and it now works well on my own dataset

Julymycin avatar Apr 11 '19 07:04 Julymycin