Closed hanlin-ga closed 1 month ago
multiplier = max(1, batch_size // 256)
n_pairs = simulation_context.get_physics_context().get_gpu_found_lost_aggregate_pairs_capacity()
simulation_context.get_physics_context().set_gpu_found_lost_aggregate_pairs_capacity(n_pairs * multiplier)
this works for me
multiplier = max(1, batch_size // 256) n_pairs = simulation_context.get_physics_context().get_gpu_found_lost_aggregate_pairs_capacity() simulation_context.get_physics_context().set_gpu_found_lost_aggregate_pairs_capacity(n_pairs * multiplier)
this works for me
Thanks for the reply, did you add this in manager_based_env.py? @martinmatak
simulation_context
variable above is an instance of omni.isaac.core.SimulationContext
, it doesn't depend on a particular filename
Thank you, the error is gone now. @martinmatak
You can also set this into the simulation configuration directly: https://isaac-sim.github.io/IsaacLab/source/api/lab/omni.isaac.lab.sim.html#omni.isaac.lab.sim.PhysxCfg.gpu_total_aggregate_pairs_capacity
simulation_context
variable above is an instance ofomni.isaac.core.SimulationContext
, it doesn't depend on a particular filename
Hi, @martinmatak , I met the same problem, and with using isaaclab, could you please tell me how to add these into a manager based RL env config? thanks.
You can specify this parameter in PhysxCfg, as Mayank linked to above. An example of using this in the manager based RL env is here: https://github.com/isaac-sim/IsaacLab/blob/main/source/extensions/omni.isaac.lab_tasks/omni/isaac/lab_tasks/manager_based/manipulation/inhand/inhand_env_cfg.py#L322.
Hello, I am running "./isaaclab.sh -p source/standalone/workflows/rsl_rl/train.py --task Isaac-Lift-Cube-Franka-v0 --headless --device cuda:0". I modified the script of "joint_pos_env_cfg.py" to make Franka to pick up a 006_mustard_bottle from YCB dataset. It was ok to train the model to pick up a dex_cube_instanceable.usd, but when I changed to 006_mustard_bottle.usd, it shows the error:
My modified code snippet of joint_pos_env_cfg.py is here:
I am using RTX 4090 GPU by the way. How to solve this problem?