Issues deploying pretrained policies in Isaac Sim #384
Unanswered
PsorTheDoctor
asked this question in
Q&A
Replies: 1 comment
-
|
Currently, there is no implementation to export the trained policies as PyTorch's While I understand such feature is crucial for sim-to-real, it probably won't be in the upcoming 2.0.0 release. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When using SKRL inside Isaac Lab to train RL policies, the program saves weights
.ptfile as a Python dict (with policy, value, and optimizer keys). It can be further loaded withtorch.loadfunction.However, Isaac Sim's policy loader expects a
torch.jit._script.RecursiveScriptModuleobject to be loaded withtorch.jit.loadand attemptingtorch.jit.loadleads to errors like:RuntimeError: PytorchStreamReader failed locating file constants.pkl: file not foundIs there any way to convert between these file content formats? This may be the crucial issue regarding usage of SKRL inside Isaac Lab / Sim, so I posted the original thread also on their repo if you find this useful: isaac-sim/IsaacLab#3697
Beta Was this translation helpful? Give feedback.
All reactions