Comments (6)
Hi I created this examples how to export. I wasn't able to make it work with torch distributions so I created simple wrapper which calls normalization.
You can take a look here: https://github.com/Denys88/rl_games#quickstart-colab-in-the-cloud (all links work in the google colab)
from isaacgymenvs.
I am trying to do the same job as you and get the .pth from Isaac gym examples converted to .onnx by copying your script I got the error below, could you tell me what I am doing wrong to not get the converison function to work?
I don't know if the image will be displayed so I'll write the error directly to you in case you can tell me what I'm doing wrong : TypeError: forward() missing 1 required positional argument: 'input_dict'.
from isaacgymenvs.
Hi, I am a little confused about your option of upgrade to 1.12. From pytorch/issues/30517, we know that 1.10 already supports the random normal-distribution. did you test that? I'm very glad to get your feedback
from isaacgymenvs.
Hi Annan; it’s been a while since I had this set up. I’d have to run the steps again to see the exact error message, but I recall it being pernicious until upgrading the PyTorch version, and relating to the random normal distribution function.
Perhaps you can replicate the steps with the current version and see if it still happens?
from isaacgymenvs.
Hi, I guess it is because the torch.onnx.export() use the default version=9 for opeset_version in pytorch 1.10. You can manually set it with opset_version=11, then all things goes well. My current pytorch version is 1.10, it works well. I tested it today.
Back to the original topic, I think it would be a better choice that you only export onnx after checking it is a mature policy. And only export the self.player.model.a2cnetwork + self.player.model.running_mean_std part. These two parts are enough for inference.
from isaacgymenvs.
Sorry friend, I haven't seen that error before.
from isaacgymenvs.
Related Issues (20)
- .
- How to train the HumanoidAMP task with different motion files HOT 1
- Train with SAC HOT 1
- Implementation of ShadowHand with 92 sensors
- Problem Getting contact info for all envs HOT 1
- ValueError: too many values to unpack (expected 2)
- Change the coordinate in Isaac SIm
- "RL List of Examples" link in framework.md leads to no where HOT 1
- [Question] Use Isaac Orbit or this HOT 1
- Use my own robot arm and gripper
- Possible with H100 GPU? HOT 1
- Question about running on Ubuntu22.04 HOT 4
- How to download "Isaac Gym Preview 4 release"? HOT 1
- problem about playing a trained policy in Isaac gym
- Personal UI qt with isaac
- Memory Leakage HOT 2
- Why is the restitution of plane set as 0?
- I have the same question, could anyone give me an answer?
- Up to cuda 11.8 worked environment
- \
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from isaacgymenvs.