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

How to load the trained model? #11

Open
nijatmursali opened this issue Jun 14, 2021 · 1 comment
Open

How to load the trained model? #11

nijatmursali opened this issue Jun 14, 2021 · 1 comment

Comments

@nijatmursali
Copy link

How can I load the trained model? When I run replay.py it always creates new checkpoints, why?

@13rac1
Copy link

13rac1 commented Apr 20, 2023

  1. Download the pre-trained Mario checkpoint: https://drive.google.com/file/d/1RRwhSMUrpBBRyAsfHLPGt1rlYFoiuus2/view?usp=sharing
  2. mkdir -p checkpoints/2020-10-21T18-25-27
  3. Move the file from your downloads to the correct directory with the name expected by replay.py: mv ~/Downloads/trained_mario.chkpt checkpoints/2020-10-21T18-25-27/mario.chkpt
  4. Run it: python replay.py

checkpoint = Path('checkpoints/2020-10-21T18-25-27/mario.chkpt')

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

2 participants