cartwheel_train icon indicating copy to clipboard operation
cartwheel_train copied to clipboard

Update noveou_train_netvlad_v3.py

Open galsh17 opened this issue 4 years ago • 3 comments

fix keras generator bug

galsh17 avatar Jun 29 '20 06:06 galsh17

what did you change exactly?

I see that you only changed a line?

mpkuse avatar Jun 29 '20 07:06 mpkuse

yes, changing this line fixes the bug. you can see that keras sequence is expecting you to implement a method which is called on_epoch_end and not on_epoch_start https://keras.io/api/utils/python_utils/#sequence-class

galsh17 avatar Jun 29 '20 07:06 galsh17

Earlier they used to have the on_start method. Anyways. do you also mind putting a comment on this and indicate your keras version please?

mpkuse avatar Jun 29 '20 07:06 mpkuse