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

Can I save pt files after training? #151

Open
Harry-maximum opened this issue Jul 10, 2024 · 1 comment
Open

Can I save pt files after training? #151

Harry-maximum opened this issue Jul 10, 2024 · 1 comment

Comments

@Harry-maximum
Copy link

Hi! I am using the locomujoco repo to train my own robot, but now we prefer the .pt files to load to run in a real robot, so how can I save the policy as a .pt file instead of the .msh file?

@boris-il-forte
Copy link
Collaborator

the mushroom file is a zip containing the torch network. You can access the torch network by unzipping the file.
There's no support in mushroom for .pt files: indeed, msh files is exactly a method to integrate mushroom agents with torch and other libraries.

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