I try to visual cloth environment, we only change var: visualize to True, but it shows some bug about it.
Errors:
INFO:absl:Available devices [CpuDevice(id=0)]
compiling simulation
Traceback (most recent call last):
File "train_on_policy.py", line 462, in
train(environment_fn=envs[args.env],
File "train_on_policy.py", line 101, in train
core_env = environment_fn(batch_size=num_envs, episode_length=episode_length)
File "/home/xxx/Desktop/ILD-main/soft/policy/cloth_task/./../../core/envs/hang_cloth_env.py", line 194, in make_env
env = HangCloth(robot_step_grad_fun, max_steps=episode_length,
File "/home/xxx/Desktop/ILD-main/soft/policy/cloth_task/./../../core/envs/hang_cloth_env.py", line 53, in init
gripper0 = o3d.geometry.TriangleMesh.create_sphere(radius=ps0_np[3])
TypeError: create_sphere(): incompatible function arguments. The following argument types are supported:
I try to visual cloth environment, we only change var: visualize to True, but it shows some bug about it. Errors: INFO:absl:Available devices [CpuDevice(id=0)] compiling simulation Traceback (most recent call last): File "train_on_policy.py", line 462, in
train(environment_fn=envs[args.env],
File "train_on_policy.py", line 101, in train
core_env = environment_fn(batch_size=num_envs, episode_length=episode_length)
File "/home/xxx/Desktop/ILD-main/soft/policy/cloth_task/./../../core/envs/hang_cloth_env.py", line 194, in make_env
env = HangCloth(robot_step_grad_fun, max_steps=episode_length,
File "/home/xxx/Desktop/ILD-main/soft/policy/cloth_task/./../../core/envs/hang_cloth_env.py", line 53, in init
gripper0 = o3d.geometry.TriangleMesh.create_sphere(radius=ps0_np[3])
TypeError: create_sphere(): incompatible function arguments. The following argument types are supported:
Invoked with: kwargs: radius=array([0. , 0.1 , 0.58, 0.01], dtype=float32)