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

feat: minimal changes to display inference in pygame #1

Merged
merged 1 commit into from
Feb 27, 2023

Conversation

jobesu14
Copy link
Owner

Minimal code change to be able to display the agent running in pygame in inference mode.

Steps to run the example_display_inference.py successfully:

  1. Perform standard training using the dreamerv3/train.py script
dreamerv3/train.py --logdir ~/logdir/train_crafter_small_1 --configs crafter small --run.script rain --run.log_every 30 --run.save_every 30
  1. Load the checkpoint of the training step from point 1. to display the trained agent
example_display_inference.py --logdir ~/logdir/display_crafter_small_1 --configs crafter small --run.from_checkpoint ~/logdir/train_crafter_small_1/checkpoint.ckpt

@jobesu14 jobesu14 merged commit 4d65c85 into main Feb 27, 2023
@jobesu14 jobesu14 deleted the feat/minimal_inference_display branch February 27, 2023 20:14
@jobesu14 jobesu14 restored the feat/minimal_inference_display branch February 27, 2023 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants