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

What should I do when I want to continue the training ? #3201

Closed
Morgan-6Freedom opened this issue Jan 10, 2020 · 7 comments
Closed

What should I do when I want to continue the training ? #3201

Morgan-6Freedom opened this issue Jan 10, 2020 · 7 comments
Assignees
Labels
discussion Issue contains general discussion. stale Issues that have been idle for a while. Automatically closed by a bot if idle for too long.

Comments

@Morgan-6Freedom
Copy link

Hello.

I have trained my AI 50k steps (the default max-steps) with this command:
mlagents-learn config/config.yaml --run-id=first-run --train

And I think it hasn't learn yet. Should I relaunch the training with the same command ? Should I only change the "run-id" ? Should I erase everything and modify the max-steps to the number of steps I think is enough ?

Thank you

@Morgan-6Freedom Morgan-6Freedom added the discussion Issue contains general discussion. label Jan 10, 2020
@MarkTension
Copy link

If it's learned anything then you'd probably want to add --load to that run-id to continue where you ended, and increase max-steps.

You say you think it hasn't learned yet after 50k steps? Maybe you want to check if it learned anything at all by checking the progress on tensorboard. If it learned to increase its cumulative reward to some degree then you might want to continue training. If nothing at all happened after 50k steps then you might have some error and you'd probably have to make some changes to your hyperparameter settings or environment if it's a custom one.

@Morgan-6Freedom
Copy link
Author

Thank you. I tried to add --load on my second training. But in tensorboard, the graph restart from the left so it's really messy to read anything

@MarkTension
Copy link

yeah that's pretty messy isn't it? It also messes up the relative time. You'll get all the info, but i've also not found a way to deal with that yet

@xiaomaogy xiaomaogy self-assigned this Jan 13, 2020
@dlindmark
Copy link

If I recall correctly, the tensorboard graph continued for mlagents version < 0.13.0. I prefered it that way, since it makes it for cleaner graphs.

@stale
Copy link

stale bot commented Jan 28, 2020

This issue has been automatically marked as stale because it has not had activity in the last 14 days. It will be closed in the next 14 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issues that have been idle for a while. Automatically closed by a bot if idle for too long. label Jan 28, 2020
@stale
Copy link

stale bot commented Feb 11, 2020

This issue has been automatically closed because it has not had activity in the last 28 days. If this issue is still valid, please ping a maintainer. Thank you for your contributions.

@stale stale bot closed this as completed Feb 11, 2020
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
discussion Issue contains general discussion. stale Issues that have been idle for a while. Automatically closed by a bot if idle for too long.
Projects
None yet
Development

No branches or pull requests

4 participants