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

An easy way to visualize the agent ? #38

Closed
MoMeAKR opened this issue May 27, 2023 · 4 comments
Closed

An easy way to visualize the agent ? #38

MoMeAKR opened this issue May 27, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@MoMeAKR
Copy link

MoMeAKR commented May 27, 2023

Hello,

I'm looking for a way to actually display what the agent does once trained. I am a bit lost in the MuzeroEvaluator class for instance. Could you provide guidance so I can try and implement some env.render there ? I'll submit a pull request if successful afterwards.
Thanks a lot !

@puyuan1996 puyuan1996 added the enhancement New feature or request label May 29, 2023
@puyuan1996
Copy link
Collaborator

Hello,

Thank you very much for your interest in our work. We are currently organizing the relevant code for rendering and saving replay, and we plan to submit a Pull Request within the next few days. We appreciate your patience.

Best wishes.

@puyuan1996 puyuan1996 added the good first issue Good for newcomers label Jun 2, 2023
@puyuan1996
Copy link
Collaborator

Hello,

The example code for loading a trained model and saving the replay is now available in this Pull Request. To store the replay, you can set main_config.env.save_video = True in this file, and specify the path to your trained model's checkpoint file in model_path.

Best wishes.

@MoMe36
Copy link

MoMe36 commented Jun 2, 2023

Hello ! Thanks a lot :D I'll be testing ASAP ! Thank you for your work

@puyuan1996
Copy link
Collaborator

Hello,

The Pull Request related to real-time video rendering and saving replay has been merged into the main branch. Please refer to the instructions in this file for visualizing the agent.

Best regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants