Comments (7)
Without more details it's a bit hard to diagnose the problem. It's possible that you've run out of memory - the default parameters are tuned for systems with 64gb of RAM, and Isaac Sim is currently somewhat memory hungry at startup.
Can you try running with num_envs=1024 instead?
from omniisaacgymenvs.
Hi,
I also cannot sure the exact situation that @fanshi14 faced, but I got a similar error log containing Segmentation fault
message when launching training code.
My case was due to setting invalid value for num_envs
argument, which violated assert(self.batch_size % self.minibatch_size == 0)
in rl_games/common/a2c_common.py
.
So check this out if you manually changed num_envs
in configuration file.
from omniisaacgymenvs.
Thank you @gavrielstate @jinseokbae for the kind advice!
I solved the problem on my pc, which is related to:
import omni.client
in path_utils.py- rl-games installation (created an issue in rl-games)
When path_utils
is imported in rlgames_train.py, my PC will output:
File "/home/USER/codes/OmniIsaacGymEnvs/omniisaacgymenvs/utils/config_utils/path_utils.py", line 32, in <module> import omni.client File "/home/USER/.local/share/ov/pkg/isaac_sim-2022.1.0/kit/extscore/omni.client/omni/client/__init__.py", line 21, in <module> from ._omniclient import * ImportError: /home/USER/.local/share/ov/pkg/isaac_sim-2022.1.0/kit/extscore/omni.usd.libs/bin/libjs.so: undefined symbol: _ZN32pxrInternal_v0_20__pxrReserved__18Tf_PostErrorHelperERKNS_13TfCallContextENS_16TfDiagnosticTypeEPKcz
The client's undefined symbol problem might be similar to disucussion1 and discussion2, I guess it is because of the order of import.
Finally, my temporary solution is to comment omni.client
related codes in path_utils.py
, since these functions are not used in current training scripts.
Maybe it is a special case for my desktop, but just let you know in case it is a potential bug.
from omniisaacgymenvs.
Hi all,
I'm also facing the bug that is the same as @fanshi14 posted. I try to fix that by just reinstalling sim and gym but failed.
So, I switched to another PC and built the environment from the bottom. It works!
chay@chay-MS-7C94:~/Downloads/OmniIsaacGymEnvs/omniisaacgymenvs$ PYTHON_PATH scripts/rlgames_train.py task=Cartpole Traceback (most recent call last): File "scripts/rlgames_train.py", line 34, in <module> from omniisaacgymenvs.utils.config_utils.path_utils import retrieve_checkpoint_path File "/home/chay/Downloads/OmniIsaacGymEnvs/omniisaacgymenvs/utils/config_utils/path_utils.py", line 32, in <module> import omni.client File "/home/chay/.local/share/ov/pkg/isaac_sim-2022.1.0/kit/extscore/omni.client/omni/client/__init__.py", line 21, in <module> from ._omniclient import * ImportError: /home/chay/.local/share/ov/pkg/isaac_sim-2022.1.0/kit/extscore/omni.usd.libs/bin/libjs.so: undefined symbol: _ZN32pxrInternal_v0_20__pxrReserved__18Tf_PostErrorHelperERKNS_13TfCallContextENS_16TfDiagnosticTypeEPKcz There was an error running python
Desktop: Ubuntu 18.04 + RTX 3070Ti
I used the old version of the gym and switch to the new one while sim remains in version 2022.1.0. Is that a potential cause to this problem?
from omniisaacgymenvs.
Thanks for bringing up the issue with the omni.client import. It appears we may have a bad ordering of imports happening.
If you are not planning to load a pre-trained checkpoint, it is safe to comment out the import for now.
Alternatively, the import should be moved to after we initialize VecEnvRLGames
in rlgames_train.py
.
We will fix this for the next release.
from omniisaacgymenvs.
@kellyguo11 When will the next version be released ? Thanks.
from omniisaacgymenvs.
We are targeting August for the next release.
from omniisaacgymenvs.
Related Issues (20)
- Is there anyway to know the each dimension meaning of observation and action? HOT 1
- Robots explode when num_envs is more than 2 HOT 1
- What is the difference between IsaacGymEnvs and OmniIsaacGymEnvs ? HOT 3
- Contact Sensors on Humanoid HOT 4
- Error when creating a cpu Lidar sensor. HOT 1
- python extension cannot be opened using pegasussimulator why?
- Issues Importing RotatingLidarPhysX from omni.isaac.sensor in Isaac Sim
- how to change numEnvs? HOT 1
- Franka Robot articulation and task files include restrictive NVIDIA license headers
- Sweep Configuration for W&B - experiment tracking
- warm_start type conversion in articulation kinematics solver HOT 1
- question about the obs return by rltask env?
- Testing in Headless True vs False has a 40% reward difference when using *the same trained policy*. Reproducible script provided!
- why is projected_gravity calculated from quat_rotate instead of quat_rotate_inverse?
- Error in Executing Target Following
- Isaac Lab missing OIGE envs HOT 1
- Frame stacking for learning from images
- Workstation Freezes During Training Sessions in OmniIsaacGymEnvs 2023.1.1
- load new URDF
- Modify state variable function “(def get_observations())”
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 omniisaacgymenvs.