Open sqdy2669 opened 1 month ago
发生异常: InstantiationException Error in call to target 'diffusion_policy.dataset.robomimic_replay_image_dataset.RobomimicReplayImageDataset': FileNotFoundError(2, 'No such file or directory') full_key: task.dataset File "/home/hhy/hhy_ws/awe/diffusion_policy/diffusion_policy/dataset/robomimic_replay_image_dataset.py", line 91, in init replay_buffer = _convert_robomimic_to_replay( File "/home/hhy/hhy_ws/awe/diffusion_policy/diffusion_policy/dataset/robomimic_replay_image_dataset.py", line 377, in _convert_robomimic_to_replay this_data = _convert_actions( File "/home/hhy/hhy_ws/awe/diffusion_policy/diffusion_policy/dataset/robomimic_replay_image_dataset.py", line 272, in _convert_actions rot = rotation_transformer.forward(rot) File "/home/hhy/hhy_ws/awe/diffusion_policy/diffusion_policy/model/common/rotation_transformer.py", line 127, in forward return self._apply_funcs(x, self.forward_funcs) File "/home/hhy/hhy_ws/awe/diffusion_policy/diffusion_policy/model/common/rotation_transformer.py", line 118, in _applyfuncs x = func(x_) TypeError: axis_angle_to_matrix() missing 1 required positional argument: 'angle'
During handling of the above exception, another exception occurred:
File "/home/hhy/hhy_ws/awe/diffusion_policy/diffusion_policy/dataset/robomimic_replay_image_dataset.py", line 104, in init shutil.rmtree(cache_zarr_path) FileNotFoundError: [Errno 2] No such file or directory: 'data/robomimic/datasets/can/ph/image_abs.hdf5.zarr.zip'
The above exception was the direct cause of the following exception:
File "/home/hhy/hhy_ws/awe/diffusion_policy/diffusion_policy/workspace/train_diffusion_transformer_hybrid_workspace.py", line 77, in run
dataset = hydra.utils.instantiate(cfg.task.dataset)
File "/home/hhy/hhy_ws/awe/diffusion_policy/train.py", line 36, in main
workspace.run()
File "/home/hhy/hhy_ws/awe/diffusion_policy/train.py", line 41, in
FileNotFoundError: [Errno 2] No such file or directory: 'data/robomimic/datasets/can/ph/image_abs.hdf5.zarr.zip'