[Question] Cannot import trained policy into navigation RL #2951
Replies: 2 comments
-
Additional note: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello everyone, This problem was solved. |
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.
-
Hello everyone,
I am working on training a robot for a navigation task using a custom policy.
I used the default navigation code as a base. However, I encountered the following error when trying to use the trained policy.
Error:
RuntimeError: PytorchStreamReader failed locating file constants.pkl: file not found
When performing RL using the default code, agent.pkl and env.pkl are saved in the params folder, and the .pt file is stored in the same directory as the params folder. However, there is no mention of a constants.pkl file, so it is unclear what the error is referring to.
Does this file need to be generated manually, or is there a required preprocessing step to convert the trained policy before using it in the navigation RL framework?
Any help would be appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions