Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line following example training #3

Open
aitorarrietamarcos opened this issue Oct 27, 2022 · 2 comments
Open

Line following example training #3

aitorarrietamarcos opened this issue Oct 27, 2022 · 2 comments
Assignees

Comments

@aitorarrietamarcos
Copy link

Hi,

We are trying to run the line following example training. However, for the current training setup in the notebooks, the algorithm stops training by the 22nd epoch. We have tried different things like increasing the batch size, but it stops the training before. The obtained models are not working as the pre-trained models work.

Do you have any hint on where the problems can be?

@bjsowa bjsowa assigned bjsowa and Bitterisland6 and unassigned bjsowa Oct 27, 2022
@Bitterisland6
Copy link
Contributor

Hi,
I'm almost sure that your problem is caused by EarlyStopping callback from keras. You can remove, or comment it and try to run the training again (callbacks are defined one cell above the cell with training).

You can also try to change the parameters that are specified in the callback.I wasn't experienced with the EarlyStopping when i was making the notebook, so there is a chance something there may be done better (i guess changing monitor and min_delta parameters to something more precise will help)

@Bitterisland6
Copy link
Contributor

You can also try to run the training loop on the same model a few times - after one training finishes, don't run the cell with model definition. Instead run again the training on the same model - this is not a pretty solution, but it will work.

And sorry if my suggestions are obvious to you, I don't know how experienced with neural networks you are. 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants