FangShancheng / ABINet

Read Like Humans: Autonomous, Bidirectional and Iterative Language Modeling for Scene Text Recognition
Other
420 stars 72 forks source link

I set 100 epochs but training stops when I reach 10 epochs? #79

Closed PhanTung-06 closed 1 year ago

PhanTung-06 commented 2 years ago

In configs file train_abinet.yaml, I set training epochs = 100 or 1000, but training stops when it reach 10 epochs?

PhanTung-06 commented 2 years ago

image

PhanTung-06 commented 2 years ago

image

sneedgers commented 2 years ago

Same issue here

anandpawara commented 1 year ago

What was the solution? facing same issue

PhanTung-06 commented 1 year ago

What was the solution? facing same issue

I used python 3.7 and error. Upgrade to python 3.8 to work.

nguyennampfiev commented 1 year ago

I have same issue, @PhanTung-06 You can training over 10 epochs by just update python 3.8.

anandpawara commented 1 year ago

I guess it's nothing to do with python version, it didn't work for me as well Try updating these values: scheduler: { periods: [6, 2], gamma: 0.1, } Eg: suppose if you are training the model for 100 epochs, then update values in periods as [80,20] split which is 80+20 = 100, this should work, which means 80 epochs for training and 20 epochs for evaluation, correct me if I am wrong