zeroth-robotics / sim

Training in simulation
MIT License
5 stars 5 forks source link

Does this error report require attention? #29

Open muwys518 opened 4 days ago

muwys518 commented 4 days ago
~/workspace/OpenLCH/sim$ python sim/train.py --task=stompymicro --num_envs=4096 --headless
/home/evenstar/workspace/OpenLCH/sim
Importing module 'gym_38' (/home/evenstar/workspace/OpenLCH/sim/third_party/isaacgym/python/isaacgym/_bindings/linux-x86_64/gym_38.so)
Setting GYM_USD_PLUG_INFO_PATH to /home/evenstar/workspace/OpenLCH/sim/third_party/isaacgym/python/isaacgym/_bindings/linux-x86_64/usd/plugInfo.json
PyTorch version 2.4.1+cu121
Device count 1
/home/evenstar/workspace/OpenLCH/sim/third_party/isaacgym/python/isaacgym/_bindings/src/gymtorch
Using /home/evenstar/.cache/torch_extensions/py38_cu121 as PyTorch extensions root...
Emitting ninja build file /home/evenstar/.cache/torch_extensions/py38_cu121/gymtorch/build.ninja...
Building extension module gymtorch...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
ninja: no work to do.
Loading extension module gymtorch...
/home/evenstar/workspace/OpenLCH/sim
/home/evenstar/workspace/OpenLCH/sim
/home/evenstar/workspace/OpenLCH/sim
/home/evenstar/workspace/OpenLCH/sim
/home/evenstar/workspace/OpenLCH/sim
/home/evenstar/workspace/OpenLCH/sim
Setting MODEL_DIR env variable to sim/resources/stompymicro
Setting seed: 5
Not connected to PVD
+++ Using GPU PhysX
Physics Engine: PhysX
Physics Device: cuda:0
GPU Pipeline: enabled
[Error] [carb.gym.plugin] Failed to resolve collision mesh 'meshes/left_shoulder_yaw.stl'
[Error] [carb.gym.plugin] Failed to resolve collision mesh 'meshes/left_hand.stl'
[Error] [carb.gym.plugin] Failed to resolve collision mesh 'meshes/right_shoulder_yaw.stl'
[Error] [carb.gym.plugin] Failed to resolve collision mesh 'meshes/right_hand.stl'
[Error] [carb.gym.plugin] Failed to resolve visual mesh 'meshes/left_shoulder_yaw.stl'
[Error] [carb.gym.plugin] Failed to resolve visual mesh 'meshes/left_hand.stl'
[Error] [carb.gym.plugin] Failed to resolve visual mesh 'meshes/right_shoulder_yaw.stl'
[Error] [carb.gym.plugin] Failed to resolve visual mesh 'meshes/right_hand.stl'
[Error] [carb.gym.plugin] Failed to resolve collision mesh 'meshes/left_knee_pitch_motor.stl'
[Error] [carb.gym.plugin] Failed to resolve visual mesh 'meshes/left_knee_pitch_motor.stl'
[Error] [carb.gym.plugin] Failed to resolve collision mesh 'meshes/knee_pitch_left.stl'
[Error] [carb.gym.plugin] Failed to resolve visual mesh 'meshes/knee_pitch_left.stl'
[Error] [carb.gym.plugin] Failed to resolve collision mesh 'meshes/right_knee_pitch_motor.stl'
[Error] [carb.gym.plugin] Failed to resolve visual mesh 'meshes/right_knee_pitch_motor.stl'

I have checked stl file list, Is this okay?

(kscale-sim-zeroth) evenstar@linux-ubuntu:~/workspace/OpenLCH/sim$ ls -l sim/resources/stompymicro/meshes/
total 3684
ankle_pitch_left.stl
ankle_pitch_right.stl
foot_left.stl
foot_right.stl
hand_right.stl
hip_roll_left.stl
hip_roll_right.stl
hip_yaw_left.stl
hip_yaw_right.stl
knee_pitch_right_2.stl
knee_pitch_right.stl
Left_Hand.stl
left_shoulder_yaw_motor.stl
right_shoulder_yaw_motor.stl
shoulder_yaw_left.stl
shoulder_yaw_right.stl
Torso.stl
jingxiangmo commented 10 hours ago

Do you see the robot in Isaac Gym environment? (without --headless)

jingxiangmo commented 10 hours ago

What do you see just running python sim/train.py --task=stompymicro --num_envs=4096?

muwys518 commented 4 hours ago

What do you see just running python sim/train.py --task=stompymicro --num_envs=4096?

Thank you for your reply. I can see the robot with or without the -- headless parameter, but it is an incomplete and missing component robot. I guess I am missing the STL file and I don't know how to download the complete robot STL file. I used OpenLCH/sim/sim/scripts/download.assets.sh to download the file. If I run task stompymini with “python sim/train.py --task=stompymini --num_envs=4096 --headless”, I think the result is normal and there are no errors. I have trained 5001 iterations and play.py can walk normally