How to use .pth file for my robot's policy

Hi, I trained a model with Isaac gym on Anymal robot.
It gave me a policy file but file format is .pth.
However standalone examples use .pt format.

can i use this .pth file? It doesnt work when i changed the code.
or can i convert this .pth file to .pt file format.
or what is alternatives?

Thanks!

Hi there,

Trained policies can be loaded using the checkpoint cmdline argument: e.g. checkpoint=runs/Anymal/nn/Anymal.pth using the same python script used for training. If you’d like to run inferencing on with the policy, you an also add the test=True argument.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.