StoneT2000 / trajectorytranslation

Code for Abstract-to-Executable Trajectory Translation for One Shot Task Generalization (ICML 2023)
https://trajectorytranslation.github.io/
22 stars 2 forks source link

blockstacking collect.sh issue #2

Open laolianlaile opened 1 year ago

laolianlaile commented 1 year ago

After creating the environment for tr2. I tried sh scripts/abstract_trajectories/blockstacking/collect.sh, but there were too mant errors. So I tried the first row in collect.sh, and the following is the error. How can I solve this? And I also tried _sh scripts/abstracttrajectories/blockstacking/collect.sh -prefernvidia, got the same result.

(tr2) lr@lr:/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main$ python scripts/abstract_trajectories/blockstacking/collect_dataset_train.py save_path=datasets/blockstacking/dataset.pkl n=4000 cpu=10
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/gym/envs/registration.py:307: DeprecationWarning: The package name gym_minigrid has been deprecated in favor of minigrid. Please uninstall gym_minigrid and install minigrid with `pip install minigrid`. Future releases will be maintained under the new package name minigrid.
  fn()
Loading chipmunk for Linux (64bit) [/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/pymunk/libchipmunk.so]
((0, 400), False, 'large')
((400, 800), False, 'large')
((800, 1200), False, 'large')
((1200, 1600), False, 'large')
((1600, 2000), False, 'large')
((2000, 2400), False, 'large')
((2400, 2800), False, 'large')
((2800, 3200), False, 'large')
((3200, 3600), False, 'large')
((3600, 4000), False, 'large')
  0%|                                                                                                                                                                                     | 0/4000 [00:00<?, ?it/s]/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/sapien/core/__init__.py:23: UserWarning: VulkanRenderer is renamed SapienRenderer now
  warn("VulkanRenderer is renamed SapienRenderer now")
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/sapien/core/__init__.py:23: UserWarning: VulkanRenderer is renamed SapienRenderer now
  warn("VulkanRenderer is renamed SapienRenderer now")
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/sapien/core/__init__.py:23: UserWarning: VulkanRenderer is renamed SapienRenderer now
  warn("VulkanRenderer is renamed SapienRenderer now")
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/sapien/core/__init__.py:23: UserWarning: VulkanRenderer is renamed SapienRenderer now
  warn("VulkanRenderer is renamed SapienRenderer now")
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/sapien/core/__init__.py:23: UserWarning: VulkanRenderer is renamed SapienRenderer now
  warn("VulkanRenderer is renamed SapienRenderer now")
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/sapien/core/__init__.py:23: UserWarning: VulkanRenderer is renamed SapienRenderer now
  warn("VulkanRenderer is renamed SapienRenderer now")
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/sapien/core/__init__.py:23: UserWarning: VulkanRenderer is renamed SapienRenderer now
  warn("VulkanRenderer is renamed SapienRenderer now")
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/sapien/core/__init__.py:23: UserWarning: VulkanRenderer is renamed SapienRenderer now
  warn("VulkanRenderer is renamed SapienRenderer now")
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/sapien/core/__init__.py:23: UserWarning: VulkanRenderer is renamed SapienRenderer now
  warn("VulkanRenderer is renamed SapienRenderer now")
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/sapien/core/__init__.py:23: UserWarning: VulkanRenderer is renamed SapienRenderer now
  warn("VulkanRenderer is renamed SapienRenderer now")
MESA-INTEL: warning: MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

MESA-INTEL: warning: MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

MESA-INTEL: warning: MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

  0%|                                                                                                                                                                                     | 0/4000 [00:00<?, ?it/s]
multiprocessing.pool.RemoteTraceback: 
"""
Traceback (most recent call last):
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/multiprocessing/pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
  File "scripts/abstract_trajectories/blockstacking/collect_dataset_train.py", line 365, in generate_dataset_helper
    return generate_dataset(*args)
  File "scripts/abstract_trajectories/blockstacking/collect_dataset_train.py", line 288, in generate_dataset
    teacher_env: BlockStackMagicPandaEnv=gym.make(
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/gym/envs/registration.py", line 640, in make
    env = env_creator(**_kwargs)
  File "/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/tr2/envs/blockstacking/env.py", line 982, in __init__
    super(BlockStackMagicPandaEnv, self).__init__(obs_mode, reward_mode, num_blocks, goal, always_done=always_done, controller="pointmass", task_range=task_range, spawn_all_blocks=spawn_all_blocks)
  File "/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/tr2/envs/blockstacking/env.py", line 175, in __init__
    super(BlockStackPandaEnv, self).__init__(obs_mode=obs_mode, reward_mode=reward_mode)
  File "/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/tr2/envs/blockstacking/sapien_env.py", line 182, in __init__
    super().__init__(sim_freq, control_freq, device=device)
  File "/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/tr2/envs/blockstacking/sapien_env.py", line 54, in __init__
    self._renderer = sapien.VulkanRenderer(default_mipmap_levels=1, device=device)
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/sapien/core/__init__.py", line 24, in __init__
    super().__init__(*args, **kwargs)
RuntimeError: vk::PhysicalDevice::createDeviceUnique: ErrorInitializationFailed
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "scripts/abstract_trajectories/blockstacking/collect_dataset_train.py", line 387, in <module>
    datasets = list(tqdm(p.imap(generate_dataset_helper, args), total=N))
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/tqdm/std.py", line 1178, in __iter__
    for obj in iterable:
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/multiprocessing/pool.py", line 868, in next
    raise value
RuntimeError: vk::PhysicalDevice::createDeviceUnique: ErrorInitializationFailed
StoneT2000 commented 1 year ago

This is likely an error due to using too much GPU memory as you create too many parallel envs. Try setting the option cpu=16 to a lower value.

laolianlaile commented 1 year ago

This issue above could be solved simply by sudo prime-select intel and reboot.

laolianlaile commented 1 year ago

I also tried another several collect.sh There are many problems First one

(tr2) lr@lr:/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main$ sh scripts/abstract_trajectories/opendrawer/collect.sh 
############### no Maniskill 1 ###############
Traceback (most recent call last):
  File "scripts/abstract_trajectories/opendrawer/collect_dataset.py", line 52, in <module>
    def collect_heuristic_teacher_traj(env: OpenCabinetDrawerMagicEnv, render=False, mode='color_image', obs_mode='state', task='open', end_move_away_dist=0.0):
NameError: name 'OpenCabinetDrawerMagicEnv' is not defined
############### no Maniskill 1 ###############
Traceback (most recent call last):
  File "scripts/abstract_trajectories/opendrawer/collect_dataset.py", line 52, in <module>
    def collect_heuristic_teacher_traj(env: OpenCabinetDrawerMagicEnv, render=False, mode='color_image', obs_mode='state', task='open', end_move_away_dist=0.0):
NameError: name 'OpenCabinetDrawerMagicEnv' is not defined

Second

(tr2) lr@lr:/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main$ sh scripts/abstract_trajectories/couchmoving/collect.sh 
Loading chipmunk for Linux (64bit) [/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/pymunk/libchipmunk.so]
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/sapien/core/__init__.py:23: UserWarning: VulkanRenderer is renamed SapienRenderer now
  warn("VulkanRenderer is renamed SapienRenderer now")
  0%|                                                                                                                                                                                     | 0/2400 [00:00<?, ?it/s]Traceback (most recent call last):
  File "scripts/abstract_trajectories/couchmoving/collect_dataset.py", line 106, in <module>
    traj = generate_teacher(env, env_seed, teacher_seed=teacher_seed, render=render, fragment=fragment, augmented=augmented, sparsity=sparsity, env_cfg=env_cfg)
  File "scripts/abstract_trajectories/couchmoving/collect_dataset.py", line 19, in generate_teacher
    obs = env.reset()
  File "/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/tr2/envs/couchmoving/env.py", line 666, in reset
    self.reconfigure()
  File "/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/tr2/envs/sapien_env.py", line 69, in reconfigure
    self._build_world()
  File "/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/tr2/envs/couchmoving/env.py", line 185, in _build_world
    self._add_actors()
  File "/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/tr2/envs/couchmoving/env.py", line 344, in _add_actors
    agent_xy, target_xy, walls, path_locs = self._gen_map()
  File "/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/tr2/envs/couchmoving/env.py", line 224, in _gen_map
    agent_xy = [self.np_random.randint(2, self.world_size - 1), self.np_random.randint(2, self.world_size - 1)]
AttributeError: 'numpy.random._generator.Generator' object has no attribute 'randint'
  0%|                                                                                                                                                                                     | 0/2400 [00:00<?, ?it/s]
Loading chipmunk for Linux (64bit) [/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/pymunk/libchipmunk.so]
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/sapien/core/__init__.py:23: UserWarning: VulkanRenderer is renamed SapienRenderer now
  warn("VulkanRenderer is renamed SapienRenderer now")
  0%|                                                                                                                                                                                     | 0/2400 [00:00<?, ?it/s]Traceback (most recent call last):
  File "scripts/abstract_trajectories/couchmoving/collect_dataset.py", line 106, in <module>
    traj = generate_teacher(env, env_seed, teacher_seed=teacher_seed, render=render, fragment=fragment, augmented=augmented, sparsity=sparsity, env_cfg=env_cfg)
  File "scripts/abstract_trajectories/couchmoving/collect_dataset.py", line 19, in generate_teacher
    obs = env.reset()
  File "/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/tr2/envs/couchmoving/env.py", line 666, in reset
    self.reconfigure()
  File "/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/tr2/envs/sapien_env.py", line 69, in reconfigure
    self._build_world()
  File "/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/tr2/envs/couchmoving/env.py", line 185, in _build_world
    self._add_actors()
  File "/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/tr2/envs/couchmoving/env.py", line 344, in _add_actors
    agent_xy, target_xy, walls, path_locs = self._gen_map()
  File "/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/tr2/envs/couchmoving/env.py", line 224, in _gen_map
    agent_xy = [self.np_random.randint(2, self.world_size - 1), self.np_random.randint(2, self.world_size - 1)]
AttributeError: 'numpy.random._generator.Generator' object has no attribute 'randint'
  0%|                                                                                                                                                                                     | 0/2400 [00:00<?, ?it/s]
Loading chipmunk for Linux (64bit) [/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/pymunk/libchipmunk.so]
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/sapien/core/__init__.py:23: UserWarning: VulkanRenderer is renamed SapienRenderer now
  warn("VulkanRenderer is renamed SapienRenderer now")
  0%|                                                                                                                                                                                     | 0/2400 [00:00<?, ?it/s]Traceback (most recent call last):
  File "scripts/abstract_trajectories/couchmoving/collect_dataset.py", line 106, in <module>
    traj = generate_teacher(env, env_seed, teacher_seed=teacher_seed, render=render, fragment=fragment, augmented=augmented, sparsity=sparsity, env_cfg=env_cfg)
  File "scripts/abstract_trajectories/couchmoving/collect_dataset.py", line 19, in generate_teacher
    obs = env.reset()
  File "/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/tr2/envs/couchmoving/env.py", line 666, in reset
    self.reconfigure()
  File "/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/tr2/envs/sapien_env.py", line 69, in reconfigure
    self._build_world()
  File "/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/tr2/envs/couchmoving/env.py", line 185, in _build_world
    self._add_actors()
  File "/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/tr2/envs/couchmoving/env.py", line 344, in _add_actors
    agent_xy, target_xy, walls, path_locs = self._gen_map()
  File "/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/tr2/envs/couchmoving/env.py", line 224, in _gen_map
    agent_xy = [self.np_random.randint(2, self.world_size - 1), self.np_random.randint(2, self.world_size - 1)]
AttributeError: 'numpy.random._generator.Generator' object has no attribute 'randint'
  0%|                                                                                                                                                                                     | 0/2400 [00:00<?, ?it/s]
Loading chipmunk for Linux (64bit) [/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/pymunk/libchipmunk.so]
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/sapien/core/__init__.py:23: UserWarning: VulkanRenderer is renamed SapienRenderer now
  warn("VulkanRenderer is renamed SapienRenderer now")
  0%|                                                                                                                                                                                     | 0/2400 [00:00<?, ?it/s]Traceback (most recent call last):
  File "scripts/abstract_trajectories/couchmoving/collect_dataset.py", line 106, in <module>
    traj = generate_teacher(env, env_seed, teacher_seed=teacher_seed, render=render, fragment=fragment, augmented=augmented, sparsity=sparsity, env_cfg=env_cfg)
  File "scripts/abstract_trajectories/couchmoving/collect_dataset.py", line 19, in generate_teacher
    obs = env.reset()
  File "/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/tr2/envs/couchmoving/env.py", line 666, in reset
    self.reconfigure()
  File "/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/tr2/envs/sapien_env.py", line 69, in reconfigure
    self._build_world()
  File "/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/tr2/envs/couchmoving/env.py", line 185, in _build_world
    self._add_actors()
  File "/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/tr2/envs/couchmoving/env.py", line 344, in _add_actors
    agent_xy, target_xy, walls, path_locs = self._gen_map()
  File "/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/tr2/envs/couchmoving/env.py", line 224, in _gen_map
    agent_xy = [self.np_random.randint(2, self.world_size - 1), self.np_random.randint(2, self.world_size - 1)]
AttributeError: 'numpy.random._generator.Generator' object has no attribute 'randint'
  0%|                                                                                                                                                                                     | 0/2400 [00:00<?, ?it/s]

Third

(tr2) lr@lr:/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main$ sh scripts/abstract_trajectories/boxpusher/collect.sh 
Loading chipmunk for Linux (64bit) [/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/pymunk/libchipmunk.so]
xkbcommon: ERROR: failed to add default include path /home/lr/anaconda3/envs/tr2/share/X11/xkb
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/glfw/__init__.py:916: GLFWError: (65544) b'Wayland: Failed to initialize xkb context'
  warnings.warn(message, GLFWError)
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/torch/utils/tensorboard/__init__.py:4: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  if not hasattr(tensorboard, "__version__") or LooseVersion(
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/torch/utils/tensorboard/__init__.py:6: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  ) < LooseVersion("1.15"):
Loading chipmunk for Linux (64bit) [/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/pymunk/libchipmunk.so]
Loading chipmunk for Linux (64bit) [/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/pymunk/libchipmunk.so]
Loading chipmunk for Linux (64bit) [/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/pymunk/libchipmunk.so]
Loading chipmunk for Linux (64bit) [/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/pymunk/libchipmunk.so]
xkbcommon: ERROR: failed to add default include path /home/lr/anaconda3/envs/tr2/share/X11/xkb
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/glfw/__init__.py:916: GLFWError: (65544) b'Wayland: Failed to initialize xkb context'
  warnings.warn(message, GLFWError)
xkbcommon: ERROR: failed to add default include path /home/lr/anaconda3/envs/tr2/share/X11/xkb
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/glfw/__init__.py:916: GLFWError: (65544) b'Wayland: Failed to initialize xkb context'
  warnings.warn(message, GLFWError)
xkbcommon: ERROR: failed to add default include path /home/lr/anaconda3/envs/tr2/share/X11/xkb
xkbcommon: ERROR: failed to add default include path /home/lr/anaconda3/envs/tr2/share/X11/xkb
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/glfw/__init__.py:916: GLFWError: (65544) b'Wayland: Failed to initialize xkb context'
  warnings.warn(message, GLFWError)
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/glfw/__init__.py:916: GLFWError: (65544) b'Wayland: Failed to initialize xkb context'
  warnings.warn(message, GLFWError)
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/torch/utils/tensorboard/__init__.py:4: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  if not hasattr(tensorboard, "__version__") or LooseVersion(
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/torch/utils/tensorboard/__init__.py:4: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  if not hasattr(tensorboard, "__version__") or LooseVersion(
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/torch/utils/tensorboard/__init__.py:6: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  ) < LooseVersion("1.15"):
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/torch/utils/tensorboard/__init__.py:6: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  ) < LooseVersion("1.15"):
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/torch/utils/tensorboard/__init__.py:4: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  if not hasattr(tensorboard, "__version__") or LooseVersion(
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/torch/utils/tensorboard/__init__.py:6: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  ) < LooseVersion("1.15"):
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/torch/utils/tensorboard/__init__.py:4: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  if not hasattr(tensorboard, "__version__") or LooseVersion(
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/torch/utils/tensorboard/__init__.py:6: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  ) < LooseVersion("1.15"):
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/sapien/core/__init__.py:23: UserWarning: VulkanRenderer is renamed SapienRenderer now
  warn("VulkanRenderer is renamed SapienRenderer now")
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/sapien/core/__init__.py:23: UserWarning: VulkanRenderer is renamed SapienRenderer now
  warn("VulkanRenderer is renamed SapienRenderer now")
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/sapien/core/__init__.py:23: UserWarning: VulkanRenderer is renamed SapienRenderer now
  warn("VulkanRenderer is renamed SapienRenderer now")
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/sapien/core/__init__.py:23: UserWarning: VulkanRenderer is renamed SapienRenderer now
  warn("VulkanRenderer is renamed SapienRenderer now")
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/stable_baselines3/common/vec_env/patch_gym.py:49: UserWarning: You provided an OpenAI Gym environment. We strongly recommend transitioning to Gymnasium environments. Stable-Baselines3 is automatically wrapping your environments in a compatibility layer, which could potentially cause issues.
  warnings.warn(
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/stable_baselines3/common/vec_env/patch_gym.py:49: UserWarning: You provided an OpenAI Gym environment. We strongly recommend transitioning to Gymnasium environments. Stable-Baselines3 is automatically wrapping your environments in a compatibility layer, which could potentially cause issues.
  warnings.warn(
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/stable_baselines3/common/vec_env/patch_gym.py:49: UserWarning: You provided an OpenAI Gym environment. We strongly recommend transitioning to Gymnasium environments. Stable-Baselines3 is automatically wrapping your environments in a compatibility layer, which could potentially cause issues.
  warnings.warn(
/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/stable_baselines3/common/vec_env/patch_gym.py:49: UserWarning: You provided an OpenAI Gym environment. We strongly recommend transitioning to Gymnasium environments. Stable-Baselines3 is automatically wrapping your environments in a compatibility layer, which could potentially cause issues.
  warnings.warn(
  0%|                                                                                                                                                                                     | 0/4000 [00:00<?, ?it/s]Process ForkServerProcess-2:
Process ForkServerProcess-1:
Process ForkServerProcess-4:
Process ForkServerProcess-3:
Traceback (most recent call last):
Traceback (most recent call last):
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/stable_baselines3/common/vec_env/subproc_vec_env.py", line 45, in _worker
    observation, reset_info = env.reset(seed=data)
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/shimmy/openai_gym_compatibility.py", line 112, in reset
    return self.gym_env.reset(seed=seed, options=options)
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/stable_baselines3/common/vec_env/subproc_vec_env.py", line 45, in _worker
    observation, reset_info = env.reset(seed=data)
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/gym/wrappers/order_enforcing.py", line 42, in reset
    return self.env.reset(**kwargs)
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/shimmy/openai_gym_compatibility.py", line 112, in reset
    return self.gym_env.reset(seed=seed, options=options)
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/gym/wrappers/env_checker.py", line 45, in reset
    return env_reset_passive_checker(self.env, **kwargs)
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/gym/wrappers/order_enforcing.py", line 42, in reset
    return self.env.reset(**kwargs)
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/gym/utils/passive_env_checker.py", line 192, in env_reset_passive_checker
    result = env.reset(**kwargs)
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/gym/wrappers/env_checker.py", line 45, in reset
    return env_reset_passive_checker(self.env, **kwargs)
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/gym/utils/passive_env_checker.py", line 192, in env_reset_passive_checker
    result = env.reset(**kwargs)
TypeError: reset() got an unexpected keyword argument 'options'
TypeError: reset() got an unexpected keyword argument 'options'
Traceback (most recent call last):
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/stable_baselines3/common/vec_env/subproc_vec_env.py", line 45, in _worker
    observation, reset_info = env.reset(seed=data)
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/shimmy/openai_gym_compatibility.py", line 112, in reset
    return self.gym_env.reset(seed=seed, options=options)
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/gym/wrappers/order_enforcing.py", line 42, in reset
    return self.env.reset(**kwargs)
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/gym/wrappers/env_checker.py", line 45, in reset
    return env_reset_passive_checker(self.env, **kwargs)
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/gym/utils/passive_env_checker.py", line 192, in env_reset_passive_checker
    result = env.reset(**kwargs)
Traceback (most recent call last):
TypeError: reset() got an unexpected keyword argument 'options'
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/stable_baselines3/common/vec_env/subproc_vec_env.py", line 45, in _worker
    observation, reset_info = env.reset(seed=data)
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/shimmy/openai_gym_compatibility.py", line 112, in reset
    return self.gym_env.reset(seed=seed, options=options)
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/gym/wrappers/order_enforcing.py", line 42, in reset
    return self.env.reset(**kwargs)
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/gym/wrappers/env_checker.py", line 45, in reset
    return env_reset_passive_checker(self.env, **kwargs)
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/gym/utils/passive_env_checker.py", line 192, in env_reset_passive_checker
    result = env.reset(**kwargs)
TypeError: reset() got an unexpected keyword argument 'options'
Traceback (most recent call last):
  File "scripts/abstract_trajectories/boxpusher/collect_boxpusher_traj.py", line 49, in <module>
    env.reset()
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/stable_baselines3/common/vec_env/subproc_vec_env.py", line 138, in reset
    results = [remote.recv() for remote in self.remotes]
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/stable_baselines3/common/vec_env/subproc_vec_env.py", line 138, in <listcomp>
    results = [remote.recv() for remote in self.remotes]
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/multiprocessing/connection.py", line 250, in recv
    buf = self._recv_bytes()
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/multiprocessing/connection.py", line 414, in _recv_bytes
    buf = self._recv(4)
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/multiprocessing/connection.py", line 383, in _recv
    raise EOFError
EOFError
  0%|                                                                                                                                                                                     | 0/4000 [00:00<?, ?it/s]

Last one

(tr2) lr@lr:/media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main$ sh scripts/abstract_trajectories/silo_pick_and_place/collect.sh 
Loading chipmunk for Linux (64bit) [/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/pymunk/libchipmunk.so]
Traceback (most recent call last):
  File "scripts/abstract_trajectories/silo_pick_and_place/collect_dataset.py", line 194, in <module>
    save_path = cfg.save_path
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/omegaconf/dictconfig.py", line 355, in __getattr__
    self._format_and_raise(
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/omegaconf/base.py", line 231, in _format_and_raise
    format_and_raise(
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/omegaconf/_utils.py", line 899, in format_and_raise
    _raise(ex, cause)
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/omegaconf/_utils.py", line 797, in _raise
    raise ex.with_traceback(sys.exc_info()[2])  # set env var OC_CAUSE=1 for full trace
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/omegaconf/dictconfig.py", line 351, in __getattr__
    return self._get_impl(
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/omegaconf/dictconfig.py", line 442, in _get_impl
    node = self._get_child(
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/omegaconf/basecontainer.py", line 73, in _get_child
    child = self._get_node(
  File "/home/lr/anaconda3/envs/tr2/lib/python3.8/site-packages/omegaconf/dictconfig.py", line 480, in _get_node
    raise ConfigKeyError(f"Missing key {key!s}")
omegaconf.errors.ConfigAttributeError: Missing key save_path
    full_key: save_path
    object_type=dict

How to solve these problems? Thank you~~

StoneT2000 commented 1 year ago

The bugs seem to be related to your environment configuration it seems. Can you share your environment details?

laolianlaile commented 1 year ago

Sure, these are my conda list and pip list.

(tr2) lr@lr:~$ conda list
# packages in environment at /home/lr/anaconda3/envs/tr2:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main    defaults
_openmp_mutex             5.1                       1_gnu    defaults
abseil-cpp                20211102.0           hd4dd3e8_0    defaults
absl-py                   1.4.0                    pypi_0    pypi
addict                    2.4.0                    pypi_0    pypi
aiofiles                  22.1.0           py38h06a4308_0    defaults
aiohttp                   3.8.3            py38h5eee18b_0    defaults
aiosignal                 1.2.0              pyhd3eb1b0_0    defaults
aiosqlite                 0.18.0           py38h06a4308_0    defaults
ansi2html                 1.8.0                    pypi_0    pypi
antlr4-python3-runtime    4.9.3                    pypi_0    pypi
anyio                     3.5.0            py38h06a4308_0    defaults
appdirs                   1.4.4              pyhd3eb1b0_0    defaults
argon2-cffi               21.3.0             pyhd3eb1b0_0    defaults
argon2-cffi-bindings      21.2.0           py38h7f8727e_0    defaults
arrow-cpp                 11.0.0               h374c478_1    defaults
asttokens                 2.0.5              pyhd3eb1b0_0    defaults
astunparse                1.6.3                    pypi_0    pypi
async-timeout             4.0.2            py38h06a4308_0    defaults
attrs                     22.1.0           py38h06a4308_0    defaults
aws-c-common              0.6.8                h5eee18b_1    defaults
aws-c-event-stream        0.1.6                h6a678d5_6    defaults
aws-checksums             0.1.11               h5eee18b_2    defaults
aws-sdk-cpp               1.8.185              h721c034_1    defaults
babel                     2.11.0           py38h06a4308_0    defaults
backcall                  0.2.0              pyhd3eb1b0_0    defaults
beautifulsoup4            4.12.2           py38h06a4308_0    defaults
black                     23.3.0           py38h06a4308_0    defaults
blas                      1.0                    openblas    defaults
bleach                    4.1.0              pyhd3eb1b0_0    defaults
boost-cpp                 1.73.0              h7f8727e_12    defaults
bottleneck                1.3.5            py38h7deecbd_0    defaults
box2d                     2.3.10                   pypi_0    pypi
brotli                    1.0.9                h5eee18b_7    defaults
brotli-bin                1.0.9                h5eee18b_7    defaults
brotlipy                  0.7.0           py38h27cfd23_1003    defaults
bzip2                     1.0.8                h7b6447c_0    defaults
c-ares                    1.19.0               h5eee18b_0    defaults
ca-certificates           2023.05.30           h06a4308_0    defaults
cachetools                5.3.1                    pypi_0    pypi
cairo                     1.16.0               hb05425b_4    defaults
certifi                   2023.5.7         py38h06a4308_0    defaults
cffi                      1.15.1           py38h5eee18b_3    defaults
charset-normalizer        2.0.4              pyhd3eb1b0_0    defaults
click                     8.0.4            py38h06a4308_0    defaults
cloudpickle               2.2.1                    pypi_0    pypi
comm                      0.1.2            py38h06a4308_0    defaults
configargparse            1.5.3                    pypi_0    pypi
contourpy                 1.0.5            py38hdb19cb5_0    defaults
cryptography              39.0.1           py38h9ce1e76_2    defaults
cudatoolkit               11.3.1               h2bc3f7f_2    defaults
cycler                    0.11.0             pyhd3eb1b0_0    defaults
cython                    0.29.35          py38h6a678d5_0    defaults
dash                      2.11.0                   pypi_0    pypi
dash-core-components      2.0.0                    pypi_0    pypi
dash-html-components      2.0.0                    pypi_0    pypi
dash-table                5.0.0                    pypi_0    pypi
datasets                  2.12.0           py38h06a4308_0    defaults
dbus                      1.13.18              hb2f20db_0    defaults
debugpy                   1.5.1            py38h295c915_0    defaults
decorator                 4.4.2                    pypi_0    pypi
defusedxml                0.7.1              pyhd3eb1b0_0    defaults
dill                      0.3.6            py38h06a4308_0    defaults
dm-control                1.0.13                   pypi_0    pypi
dm-env                    1.6                      pypi_0    pypi
dm-tree                   0.1.8                    pypi_0    pypi
docker-pycreds            0.4.0                    pypi_0    pypi
eigen                     3.3.7                hd09550d_1    defaults
entrypoints               0.4              py38h06a4308_0    defaults
executing                 0.8.3              pyhd3eb1b0_0    defaults
expat                     2.4.9                h6a678d5_0    defaults
farama-notifications      0.0.4                    pypi_0    pypi
ffmpeg                    4.2.2                h20bf706_0    defaults
filelock                  3.9.0            py38h06a4308_0    defaults
flask                     2.2.5                    pypi_0    pypi
flatbuffers               23.5.26                  pypi_0    pypi
fontconfig                2.14.1               h52c9d5c_1    defaults
fonttools                 4.25.0             pyhd3eb1b0_0    defaults
freetype                  2.12.1               h4a9f257_0    defaults
frozenlist                1.3.3            py38h5eee18b_0    defaults
fsspec                    2023.4.0         py38h06a4308_0    defaults
future                    0.18.3           py38h06a4308_0    defaults
gast                      0.4.0                    pypi_0    pypi
gflags                    2.2.2                he6710b0_0    defaults
giflib                    5.2.1                h5eee18b_3    defaults
gitdb                     4.0.10                   pypi_0    pypi
gitpython                 3.1.31                   pypi_0    pypi
glfw                      2.6.1                    pypi_0    pypi
glib                      2.69.1               he621ea3_2    defaults
glog                      0.5.0                h2531618_0    defaults
gmp                       6.2.1                h295c915_3    defaults
gmpy2                     2.1.2            py38heeb90bb_0    defaults
gnutls                    3.6.15               he1e5248_0    defaults
google-auth               2.21.0                   pypi_0    pypi
google-auth-oauthlib      1.0.0                    pypi_0    pypi
google-pasta              0.2.0                    pypi_0    pypi
graphite2                 1.3.14               h295c915_1    defaults
grpc-cpp                  1.48.2               he1ff14a_1    defaults
grpcio                    1.56.0                   pypi_0    pypi
gst-plugins-base          1.14.1               h6a678d5_1    defaults
gstreamer                 1.14.1               h5eee18b_1    defaults
gym                       0.26.2                   pypi_0    pypi
gym-notices               0.0.8                    pypi_0    pypi
gymnasium                 0.28.1                   pypi_0    pypi
h5py                      3.9.0                    pypi_0    pypi
harfbuzz                  4.3.0                hf52aaf7_1    defaults
hdf5                      1.10.6               h3ffc7dd_1    defaults
huggingface_hub           0.15.1           py38h06a4308_0    defaults
icu                       58.2                 he6710b0_3    defaults
idna                      3.4              py38h06a4308_0    defaults
imageio                   2.31.1                   pypi_0    pypi
imageio-ffmpeg            0.4.8                    pypi_0    pypi
importlib-metadata        6.0.0            py38h06a4308_0    defaults
importlib_metadata        6.0.0                hd3eb1b0_0    defaults
importlib_resources       5.2.0              pyhd3eb1b0_1    defaults
intel-openmp              2023.1.0         hdb19cb5_46305    defaults
ipdb                      0.13.13                  pypi_0    pypi
ipykernel                 6.19.2           py38hb070fc8_0    defaults
ipython                   8.12.0           py38h06a4308_0    defaults
ipython_genutils          0.2.0              pyhd3eb1b0_1    defaults
ipywidgets                8.0.6                    pypi_0    pypi
isort                     5.9.3              pyhd3eb1b0_0    defaults
itsdangerous              2.1.2                    pypi_0    pypi
jax                       0.4.13                   pypi_0    pypi
jax-jumpy                 1.0.0                    pypi_0    pypi
jedi                      0.18.1           py38h06a4308_1    defaults
jinja2                    3.1.2            py38h06a4308_0    defaults
joblib                    1.2.0            py38h06a4308_0    defaults
jpeg                      9e                   h5eee18b_1    defaults
json5                     0.9.6              pyhd3eb1b0_0    defaults
jsonschema                4.17.3           py38h06a4308_0    defaults
jupyter_client            8.1.0            py38h06a4308_0    defaults
jupyter_core              5.3.0            py38h06a4308_0    defaults
jupyter_events            0.6.3            py38h06a4308_0    defaults
jupyter_server            2.5.0            py38h06a4308_0    defaults
jupyter_server_fileid     0.9.0            py38h06a4308_0    defaults
jupyter_server_terminals  0.4.4            py38h06a4308_1    defaults
jupyter_server_ydoc       0.8.0            py38h06a4308_1    defaults
jupyter_ydoc              0.2.4            py38h06a4308_0    defaults
jupyterlab                3.6.3            py38h06a4308_0    defaults
jupyterlab-widgets        3.0.7                    pypi_0    pypi
jupyterlab_pygments       0.1.2                      py_0    defaults
jupyterlab_server         2.22.0           py38h06a4308_0    defaults
keras                     2.12.0                   pypi_0    pypi
kiwisolver                1.4.4            py38h6a678d5_0    defaults
krb5                      1.20.1               h143b758_1    defaults
labmaze                   1.0.6                    pypi_0    pypi
lame                      3.100                h7b6447c_0    defaults
lcms2                     2.12                 h3be6417_0    defaults
ld_impl_linux-64          2.38                 h1181459_1    defaults
lerc                      3.0                  h295c915_0    defaults
libboost                  1.73.0              h28710b8_12    defaults
libbrotlicommon           1.0.9                h5eee18b_7    defaults
libbrotlidec              1.0.9                h5eee18b_7    defaults
libbrotlienc              1.0.9                h5eee18b_7    defaults
libclang                  16.0.0                   pypi_0    pypi
libcurl                   8.1.1                h251f7ec_1    defaults
libdeflate                1.17                 h5eee18b_0    defaults
libedit                   3.1.20221030         h5eee18b_0    defaults
libev                     4.33                 h7f8727e_1    defaults
libevent                  2.1.12               hdbd6064_1    defaults
libffi                    3.4.4                h6a678d5_0    defaults
libgcc-ng                 11.2.0               h1234567_1    defaults
libgfortran-ng            11.2.0               h00389a5_1    defaults
libgfortran5              11.2.0               h1234567_1    defaults
libgomp                   11.2.0               h1234567_1    defaults
libidn2                   2.3.4                h5eee18b_0    defaults
libllvm10                 10.0.1               hbcb73fb_5    defaults
libnghttp2                1.52.0               h2d74bed_1    defaults
libopenblas               0.3.21               h043d6bf_0    defaults
libopus                   1.3.1                h7b6447c_0    defaults
libpng                    1.6.39               h5eee18b_0    defaults
libpq                     12.15                hdbd6064_1    defaults
libprotobuf               3.20.3               he621ea3_0    defaults
libsodium                 1.0.18               h7b6447c_0    defaults
libssh2                   1.10.0               hdbd6064_2    defaults
libstdcxx-ng              11.2.0               h1234567_1    defaults
libtasn1                  4.19.0               h5eee18b_0    defaults
libthrift                 0.15.0               h1795dd8_1    defaults
libtiff                   4.5.0                h6a678d5_2    defaults
libunistring              0.9.10               h27cfd23_0    defaults
libuuid                   1.41.5               h5eee18b_0    defaults
libvpx                    1.7.0                h439df22_0    defaults
libwebp                   1.2.4                h11a3e52_1    defaults
libwebp-base              1.2.4                h5eee18b_1    defaults
libxcb                    1.15                 h7f8727e_0    defaults
libxkbcommon              1.0.1                hfa300c1_0    defaults
libxml2                   2.9.14               h74e7548_0    defaults
libxslt                   1.1.35               h4e12654_0    defaults
lxml                      4.9.1            py38h1edc446_0    defaults
lz4-c                     1.9.4                h6a678d5_0    defaults
mani-skill2               0.1.0                    pypi_0    pypi
markdown                  3.4.3                    pypi_0    pypi
markupsafe                2.1.1            py38h7f8727e_0    defaults
matplotlib                3.7.1            py38h06a4308_1    defaults
matplotlib-base           3.7.1            py38h417a72b_1    defaults
matplotlib-inline         0.1.6            py38h06a4308_0    defaults
minigrid                  2.3.0                    pypi_0    pypi
mistune                   0.8.4           py38h7b6447c_1000    defaults
mkl                       2023.1.0         h6d00ec8_46342    defaults
mkl-service               2.4.0            py38h5eee18b_1    defaults
ml-dtypes                 0.2.0                    pypi_0    pypi
moviepy                   1.0.3                    pypi_0    pypi
mpc                       1.1.0                h10f8cd9_1    defaults
mpfr                      4.0.2                hb69a4c5_1    defaults
mpi                       1.0                       mpich    defaults
mpi4py                    3.1.4            py38hfc96bbd_0    defaults
mpich                     3.3.2                external_0    defaults
mpmath                    1.2.1            py38h06a4308_0    defaults
mujoco                    2.3.6                    pypi_0    pypi
multidict                 6.0.2            py38h5eee18b_0    defaults
multiprocess              0.70.14          py38h06a4308_0    defaults
munkres                   1.1.4                      py_0    defaults
mypy_extensions           0.4.3            py38h06a4308_1    defaults
nbclassic                 0.5.5            py38h06a4308_0    defaults
nbclient                  0.5.13           py38h06a4308_0    defaults
nbconvert                 6.5.4            py38h06a4308_0    defaults
nbformat                  5.7.0            py38h06a4308_0    defaults
ncurses                   6.4                  h6a678d5_0    defaults
nest-asyncio              1.5.6            py38h06a4308_0    defaults
nettle                    3.7.3                hbbd107a_1    defaults
networkx                  2.8.4            py38h06a4308_1    defaults
ninja                     1.10.2               h06a4308_5    defaults
ninja-base                1.10.2               hd09550d_5    defaults
notebook                  6.5.4            py38h06a4308_0    defaults
notebook-shim             0.2.2            py38h06a4308_0    defaults
nspr                      4.35                 h6a678d5_0    defaults
nss                       3.89.1               h6a678d5_0    defaults
numexpr                   2.8.4            py38hd2a5715_1    defaults
numpy                     1.23.5                   pypi_0    pypi
oauthlib                  3.2.2                    pypi_0    pypi
omegaconf                 2.3.0                    pypi_0    pypi
open3d                    0.17.0                   pypi_0    pypi
opencv                    4.6.0            py38h417a72b_3    defaults
opencv-python             4.7.0.72                 pypi_0    pypi
openh264                  2.1.1                h4ff587b_0    defaults
openjpeg                  2.4.0                h3ad879b_0    defaults
openssl                   3.0.9                h7f8727e_0    defaults
opt-einsum                3.3.0                    pypi_0    pypi
orc                       1.7.4                hb3bc3d3_1    defaults
packaging                 23.0             py38h06a4308_0    defaults
pandas                    1.5.3            py38h417a72b_0    defaults
pandocfilters             1.5.0              pyhd3eb1b0_0    defaults
paper-rl                  0.0.1                     dev_0    <develop>
parso                     0.8.3              pyhd3eb1b0_0    defaults
pathspec                  0.10.3           py38h06a4308_0    defaults
pathtools                 0.1.2                    pypi_0    pypi
pcre                      8.45                 h295c915_0    defaults
pexpect                   4.8.0              pyhd3eb1b0_3    defaults
pickleshare               0.7.5           pyhd3eb1b0_1003    defaults
pillow                    9.4.0            py38h6a678d5_0    defaults
pip                       23.1.2           py38h06a4308_0    defaults
pixman                    0.40.0               h7f8727e_1    defaults
pkgutil-resolve-name      1.3.10           py38h06a4308_0    defaults
platformdirs              2.5.2            py38h06a4308_0    defaults
plotly                    5.15.0                   pypi_0    pypi
ply                       3.11                     py38_0    defaults
pooch                     1.4.0              pyhd3eb1b0_0    defaults
proglog                   0.1.10                   pypi_0    pypi
prometheus_client         0.14.1           py38h06a4308_0    defaults
prompt-toolkit            3.0.36           py38h06a4308_0    defaults
protobuf                  4.23.3                   pypi_0    pypi
psutil                    5.9.0            py38h5eee18b_0    defaults
ptyprocess                0.7.0              pyhd3eb1b0_2    defaults
pure_eval                 0.2.2              pyhd3eb1b0_0    defaults
pyarrow                   11.0.0           py38h992f0b0_0    defaults
pyasn1                    0.5.0                    pypi_0    pypi
pyasn1-modules            0.3.0                    pypi_0    pypi
pycparser                 2.21               pyhd3eb1b0_0    defaults
pygame                    2.5.0                    pypi_0    pypi
pyglet                    2.0.8                    pypi_0    pypi
pygments                  2.15.1           py38h06a4308_1    defaults
pymunk                    5.6.0                    pypi_0    pypi
pyopengl                  3.1.7                    pypi_0    pypi
pyopenssl                 23.0.0           py38h06a4308_0    defaults
pyparsing                 3.0.9            py38h06a4308_0    defaults
pyqt                      5.15.7           py38h6a678d5_1    defaults
pyqt5-sip                 12.11.0          py38h6a678d5_1    defaults
pyquaternion              0.9.9                    pypi_0    pypi
pyrsistent                0.18.0           py38heee7806_0    defaults
pysocks                   1.7.1            py38h06a4308_0    defaults
python                    3.8.16               h955ad1f_4    defaults
python-dateutil           2.8.2              pyhd3eb1b0_0    defaults
python-fastjsonschema     2.16.2           py38h06a4308_0    defaults
python-json-logger        2.0.7            py38h06a4308_0    defaults
python-xxhash             2.0.2            py38h5eee18b_1    defaults
pytorch                   1.12.1          cpu_py38h9dbd814_1    defaults
pytorch-mutex             1.0                        cuda    pytorch
pytz                      2022.7           py38h06a4308_0    defaults
pyyaml                    6.0              py38h5eee18b_1    defaults
pyzmq                     25.1.0           py38h6a678d5_0    defaults
qt-main                   5.15.2               h327a75a_7    defaults
qt-webengine              5.15.9               hd2b0992_4    defaults
qtwebkit                  5.212                h4eab89a_4    defaults
re2                       2022.04.01           h295c915_0    defaults
readline                  8.2                  h5eee18b_0    defaults
regex                     2022.7.9         py38h5eee18b_0    defaults
requests                  2.29.0           py38h06a4308_0    defaults
requests-oauthlib         1.3.1                    pypi_0    pypi
responses                 0.13.3             pyhd3eb1b0_0    defaults
retrying                  1.3.4                    pypi_0    pypi
rfc3339-validator         0.1.4            py38h06a4308_0    defaults
rfc3986-validator         0.1.1            py38h06a4308_0    defaults
rsa                       4.9                      pypi_0    pypi
rtree                     1.0.1                    pypi_0    pypi
sacremoses                0.0.43             pyhd3eb1b0_0    defaults
sapien                    2.2.1                    pypi_0    pypi
scikit-learn              1.2.2            py38h6a678d5_1    defaults
scipy                     1.10.1           py38h32ae08f_1    defaults
seaborn                   0.12.2           py38h06a4308_0    defaults
send2trash                1.8.0              pyhd3eb1b0_1    defaults
sentry-sdk                1.26.0                   pypi_0    pypi
setproctitle              1.3.2                    pypi_0    pypi
setuptools                67.8.0           py38h06a4308_0    defaults
shapely                   2.0.1                    pypi_0    pypi
shimmy                    1.1.0                    pypi_0    pypi
sip                       6.6.2            py38h6a678d5_0    defaults
six                       1.16.0             pyhd3eb1b0_1    defaults
smmap                     5.0.0                    pypi_0    pypi
snappy                    1.1.9                h295c915_0    defaults
sniffio                   1.2.0            py38h06a4308_1    defaults
soupsieve                 2.4              py38h06a4308_0    defaults
sqlite                    3.41.2               h5eee18b_0    defaults
stable-baselines3         2.0.0                    pypi_0    pypi
stack_data                0.2.0              pyhd3eb1b0_0    defaults
sympy                     1.11.1           py38h06a4308_0    defaults
tbb                       2021.8.0             hdb19cb5_0    defaults
tenacity                  8.2.2                    pypi_0    pypi
tensorboard               2.12.3                   pypi_0    pypi
tensorboard-data-server   0.7.1                    pypi_0    pypi
tensorflow                2.12.0                   pypi_0    pypi
tensorflow-estimator      2.12.0                   pypi_0    pypi
tensorflow-io-gcs-filesystem 0.32.0                   pypi_0    pypi
termcolor                 2.3.0                    pypi_0    pypi
terminado                 0.17.1           py38h06a4308_0    defaults
threadpoolctl             2.2.0              pyh0d69192_0    defaults
tinycss2                  1.2.1            py38h06a4308_0    defaults
tk                        8.6.12               h1ccaba5_0    defaults
tokenizers                0.13.2           py38h22610ee_1    defaults
toml                      0.10.2             pyhd3eb1b0_0    defaults
tomli                     2.0.1            py38h06a4308_0    defaults
torchaudio                0.12.1               py38_cu113    pytorch
torchvision               0.13.1               py38_cu113    pytorch
tornado                   6.2              py38h5eee18b_0    defaults
tqdm                      4.65.0           py38hb070fc8_0    defaults
tr2                       1.0.0                     dev_0    <develop>
traitlets                 5.7.1            py38h06a4308_0    defaults
transformers              4.29.2           py38h06a4308_0    defaults
transforms3d              0.4.1                    pypi_0    pypi
trimesh                   3.22.1                   pypi_0    pypi
typing-extensions         4.6.3            py38h06a4308_0    defaults
typing_extensions         4.6.3            py38h06a4308_0    defaults
urllib3                   1.26.16          py38h06a4308_0    defaults
utf8proc                  2.6.1                h27cfd23_0    defaults
wandb                     0.15.4                   pypi_0    pypi
wcwidth                   0.2.5              pyhd3eb1b0_0    defaults
webencodings              0.5.1                    py38_1    defaults
websocket-client          0.58.0           py38h06a4308_4    defaults
werkzeug                  2.2.3                    pypi_0    pypi
wheel                     0.38.4           py38h06a4308_0    defaults
widgetsnbextension        4.0.7                    pypi_0    pypi
wrapt                     1.14.1                   pypi_0    pypi
x-magical                 0.0.4                    pypi_0    pypi
x264                      1!157.20191217       h7b6447c_0    defaults
xxhash                    0.8.0                h7f8727e_3    defaults
xz                        5.4.2                h5eee18b_0    defaults
y-py                      0.5.9            py38h52d8a92_0    defaults
yaml                      0.2.5                h7b6447c_0    defaults
yarl                      1.8.1            py38h5eee18b_0    defaults
ypy-websocket             0.8.2            py38h06a4308_0    defaults
zeromq                    4.3.4                h2531618_0    defaults
zipp                      3.11.0           py38h06a4308_0    defaults
zlib                      1.2.13               h5eee18b_0    defaults
zstd                      1.5.5                hc292b87_0    defaults
(tr2) lr@lr:~$ pip list
Package                      Version  Editable project location
---------------------------- -------- ----------------------------------------------------------------------------------------------------
absl-py                      1.4.0
addict                       2.4.0
aiofiles                     22.1.0
aiohttp                      3.8.3
aiosignal                    1.2.0
aiosqlite                    0.18.0
ansi2html                    1.8.0
antlr4-python3-runtime       4.9.3
anyio                        3.5.0
appdirs                      1.4.4
argon2-cffi                  21.3.0
argon2-cffi-bindings         21.2.0
asttokens                    2.0.5
astunparse                   1.6.3
async-timeout                4.0.2
attrs                        22.1.0
Babel                        2.11.0
backcall                     0.2.0
beautifulsoup4               4.12.2
black                        0.0
bleach                       4.1.0
Bottleneck                   1.3.5
Box2D                        2.3.10
brotlipy                     0.7.0
cachetools                   5.3.1
certifi                      2023.5.7
cffi                         1.15.1
charset-normalizer           2.0.4
click                        8.0.4
cloudpickle                  2.2.1
comm                         0.1.2
ConfigArgParse               1.5.3
contourpy                    1.0.5
cryptography                 39.0.1
cycler                       0.11.0
Cython                       0.29.35
dash                         2.11.0
dash-core-components         2.0.0
dash-html-components         2.0.0
dash-table                   5.0.0
datasets                     2.12.0
debugpy                      1.5.1
decorator                    4.4.2
defusedxml                   0.7.1
dill                         0.3.6
dm-control                   1.0.13
dm-env                       1.6
dm-tree                      0.1.8
docker-pycreds               0.4.0
entrypoints                  0.4
executing                    0.8.3
Farama-Notifications         0.0.4
fastjsonschema               2.16.2
filelock                     3.9.0
Flask                        2.2.5
flatbuffers                  23.5.26
fonttools                    4.25.0
frozenlist                   1.3.3
fsspec                       2023.4.0
future                       0.18.3
gast                         0.4.0
gitdb                        4.0.10
GitPython                    3.1.31
glfw                         2.6.1
gmpy2                        2.1.2
google-auth                  2.21.0
google-auth-oauthlib         1.0.0
google-pasta                 0.2.0
grpcio                       1.56.0
gym                          0.26.2
gym-notices                  0.0.8
gymnasium                    0.28.1
h5py                         3.9.0
huggingface-hub              0.15.1
idna                         3.4
imageio                      2.31.1
imageio-ffmpeg               0.4.8
importlib-metadata           6.0.0
importlib-resources          5.2.0
ipdb                         0.13.13
ipykernel                    6.19.2
ipython                      8.12.0
ipython-genutils             0.2.0
ipywidgets                   8.0.6
isort                        5.9.3
itsdangerous                 2.1.2
jax                          0.4.13
jax-jumpy                    1.0.0
jedi                         0.18.1
Jinja2                       3.1.2
joblib                       1.2.0
json5                        0.9.6
jsonschema                   4.17.3
jupyter_client               8.1.0
jupyter_core                 5.3.0
jupyter-events               0.6.3
jupyter_server               2.5.0
jupyter_server_fileid        0.9.0
jupyter_server_terminals     0.4.4
jupyter_server_ydoc          0.8.0
jupyter-ydoc                 0.2.4
jupyterlab                   3.6.3
jupyterlab-pygments          0.1.2
jupyterlab_server            2.22.0
jupyterlab-widgets           3.0.7
keras                        2.12.0
kiwisolver                   1.4.4
labmaze                      1.0.6
libclang                     16.0.0
lxml                         4.9.1
mani-skill2                  0.1.0    /media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/external/ManiSkill2
Markdown                     3.4.3
MarkupSafe                   2.1.1
matplotlib                   3.7.1
matplotlib-inline            0.1.6
minigrid                     2.3.0
mistune                      0.8.4
mkl-service                  2.4.0
ml-dtypes                    0.2.0
moviepy                      1.0.3
mpi4py                       3.1.4
mpmath                       1.2.1
mujoco                       2.3.6
multidict                    6.0.2
multiprocess                 0.70.14
munkres                      1.1.4
mypy-extensions              0.4.3
nbclassic                    0.5.5
nbclient                     0.5.13
nbconvert                    6.5.4
nbformat                     5.7.0
nest-asyncio                 1.5.6
networkx                     2.8.4
notebook                     6.5.4
notebook_shim                0.2.2
numexpr                      2.8.4
numpy                        1.23.5
oauthlib                     3.2.2
omegaconf                    2.3.0
open3d                       0.17.0
opencv-python                4.7.0.72
opt-einsum                   3.3.0
packaging                    23.0
pandas                       1.5.3
pandocfilters                1.5.0
paper-rl                     0.0.1    /media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main/paper_rl
parso                        0.8.3
pathspec                     0.10.3
pathtools                    0.1.2
pexpect                      4.8.0
pickleshare                  0.7.5
Pillow                       9.4.0
pip                          23.1.2
pkgutil_resolve_name         1.3.10
platformdirs                 2.5.2
plotly                       5.15.0
ply                          3.11
pooch                        1.4.0
proglog                      0.1.10
prometheus-client            0.14.1
prompt-toolkit               3.0.36
protobuf                     4.23.3
psutil                       5.9.0
ptyprocess                   0.7.0
pure-eval                    0.2.2
pyarrow                      11.0.0
pyasn1                       0.5.0
pyasn1-modules               0.3.0
pycparser                    2.21
pygame                       2.5.0
pyglet                       2.0.8
Pygments                     2.15.1
pymunk                       5.6.0
PyOpenGL                     3.1.7
pyOpenSSL                    23.0.0
pyparsing                    3.0.9
PyQt5-sip                    12.11.0
pyquaternion                 0.9.9
pyrsistent                   0.18.0
PySocks                      1.7.1
python-dateutil              2.8.2
python-json-logger           2.0.7
pytz                         2022.7
PyYAML                       6.0
pyzmq                        25.1.0
regex                        2022.7.9
requests                     2.29.0
requests-oauthlib            1.3.1
responses                    0.13.3
retrying                     1.3.4
rfc3339-validator            0.1.4
rfc3986-validator            0.1.1
rsa                          4.9
Rtree                        1.0.1
sacremoses                   0.0.43
sapien                       2.2.1
scikit-learn                 1.2.2
scipy                        1.10.1
seaborn                      0.12.2
Send2Trash                   1.8.0
sentry-sdk                   1.26.0
setproctitle                 1.3.2
setuptools                   67.8.0
shapely                      2.0.1
Shimmy                       1.1.0
sip                          6.6.2
six                          1.16.0
smmap                        5.0.0
sniffio                      1.2.0
soupsieve                    2.4
stable-baselines3            2.0.0
stack-data                   0.2.0
sympy                        1.11.1
tenacity                     8.2.2
tensorboard                  2.12.3
tensorboard-data-server      0.7.1
tensorflow                   2.12.0
tensorflow-estimator         2.12.0
tensorflow-io-gcs-filesystem 0.32.0
termcolor                    2.3.0
terminado                    0.17.1
threadpoolctl                2.2.0
tinycss2                     1.2.1
tokenizers                   0.13.2
toml                         0.10.2
tomli                        2.0.1
torch                        1.12.1
torchaudio                   0.12.1
torchvision                  0.13.1
tornado                      6.2
tqdm                         4.65.0
tr2                          1.0.0    /media/lr/96C263686A409D04/trajectorytranslation-main/trajectorytranslation-main
traitlets                    5.7.1
transformers                 4.29.2
transforms3d                 0.4.1
trimesh                      3.22.1
typing_extensions            4.6.3
urllib3                      1.26.16
wandb                        0.15.4
wcwidth                      0.2.5
webencodings                 0.5.1
websocket-client             0.58.0
Werkzeug                     2.2.3
wheel                        0.38.4
widgetsnbextension           4.0.7
wrapt                        1.14.1
x-magical                    0.0.4
xxhash                       2.0.2
y-py                         0.5.9
yarl                         1.8.1
ypy-websocket                0.8.2
zipp                         3.11.0
laolianlaile commented 1 year ago
conda env create -f environment.yml
conda activate tr2

These do not work. (some packages cannot be installed) So I tried conda create -n tr2 python=3.8 and then install packages manually by pip install or conda install according to environment.yml

StoneT2000 commented 1 year ago

I'll try and check the issues. Currently at ICML so can't check immediately. Worst case I'll get a docker alternative