-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when train, can't find sample00_rep00.npy #7
Comments
@dbdxnuliba have you solve this error |
Sorry, I haven't solved it yet, I've temporarily commented it out. |
@dbdxnuliba Agree that I think this is an example of the action library rather than the actual use. I also comment it |
Hi, @dbdxnuliba I just wanna ask which line did you comment it out? |
I think is commenting the sample00_rep00 in the file motions_debug.yaml |
** we can only produce npy files like this by the command:
![image](https://private-user-images.githubusercontent.com/13350158/364980475-6999f2ab-26f4-41d1-890c-dae5d0382b79.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NjU4MjcsIm5iZiI6MTczODk2NTUyNywicGF0aCI6Ii8xMzM1MDE1OC8zNjQ5ODA0NzUtNjk5OWYyYWItMjZmNC00MWQxLTg5MGMtZGFlNWQwMzgyYjc5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDIxNTg0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBlOTFhZGZjZTlkYmY1ZGVkYzVlMGE3ZWNjOGViODI0ODk2OGExOTU1NjFhNTBjOWY2YWRjMzJmMmNjZDMxNmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.uLDcIoD8IjIm9dcXgiLIsN98e_lpnZMKS1UplZ5zf3s)
python retarget_motion_h1_all.py**
and how can I produce or get sample00_rep00.npy file,thanks
otherwise, when train, it shows FileNotFoundError: [Errno 2] No such file or directory: '/home/nuli/rl/expressive-humanoid/ASE/ase/poselib/data/retarget_npy/sample00_rep00.npy'
(humanoid) nuli@nuli-Legion-Y9000P-IRX8:~/rl/expressive-humanoid/legged_gym/legged_gym/scripts$ python train.py debug --task h1_view --motion_name motions_debug.yaml --debug
Importing module 'gym_38' (/home/nuli/rl/IsaacGym_Preview_4_Package/isaacgym/python/isaacgym/_bindings/linux-x86_64/gym_38.so)
Setting GYM_USD_PLUG_INFO_PATH to /home/nuli/rl/IsaacGym_Preview_4_Package/isaacgym/python/isaacgym/_bindings/linux-x86_64/usd/plugInfo.json
PyTorch version 2.4.1+cu121
Device count 1
/home/nuli/rl/IsaacGym_Preview_4_Package/isaacgym/python/isaacgym/_bindings/src/gymtorch
Using /home/nuli/.cache/torch_extensions/py38_cu121 as PyTorch extensions root...
Emitting ninja build file /home/nuli/.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...
2024-09-06 07:19:49,705 - INFO - logger - logger initialized
MOVING MOTION DATA TO GPU, USING CACHE: False
wandb: WARNING Disabling the wandb service is deprecated as of version 0.18.0 and will be removed in version 0.19.0.
Setting seed: 1
******************** Loading motion library ********************
Loading 1/24 motion files: /home/nuli/rl/expressive-humanoid/ASE/ase/poselib/data/retarget_npy/sample00_rep00.npy
Traceback (most recent call last):
File "train.py", line 72, in
train(args)
File "train.py", line 65, in train
env, env_cfg = task_registry.make_env(name=args.task, args=args)
File "/home/nuli/rl/expressive-humanoid/legged_gym/legged_gym/utils/task_registry.py", line 98, in make_env
env = task_class( cfg=env_cfg,
File "/home/nuli/rl/expressive-humanoid/legged_gym/legged_gym/envs/h1/h1_mimic_view_motion.py", line 18, in init
super().init(cfg, sim_params, physics_engine, sim_device, headless)
File "/home/nuli/rl/expressive-humanoid/legged_gym/legged_gym/envs/h1/h1_mimic_eval.py", line 12, in init
super().init(cfg, sim_params, physics_engine, sim_device, headless)
File "/home/nuli/rl/expressive-humanoid/legged_gym/legged_gym/envs/h1/h1_mimic.py", line 43, in init
self.init_motions(cfg)
File "/home/nuli/rl/expressive-humanoid/legged_gym/legged_gym/envs/h1/h1_mimic.py", line 118, in init_motions
self._load_motion(motion_file, cfg.motion.no_keybody)
File "/home/nuli/rl/expressive-humanoid/legged_gym/legged_gym/envs/h1/h1_mimic.py", line 157, in _load_motion
self._motion_lib = MotionLib(motion_file=motion_file,
File "/home/nuli/rl/expressive-humanoid/ASE/ase/utils/motion_lib.py", line 118, in init
self._load_motions(motion_file, no_keybody)
File "/home/nuli/rl/expressive-humanoid/ASE/ase/utils/motion_lib.py", line 274, in _load_motions
curr_motion = SkeletonMotion.from_file(curr_file)
File "/home/nuli/rl/expressive-humanoid/ASE/ase/poselib/poselib/core/backend/abstract.py", line 128, in from_file
d = np.load(path, allow_pickle=True).item()
File "/home/nuli/anaconda3/envs/humanoid/lib/python3.8/site-packages/numpy/lib/npyio.py", line 405, in load
fid = stack.enter_context(open(os_fspath(file), "rb"))
FileNotFoundError: [Errno 2] No such file or directory: '/home/nuli/rl/expressive-humanoid/ASE/ase/poselib/data/retarget_npy/sample00_rep00.npy'
2.Quesition2 how can we get sample01_rep01 data,as shown in the following fig
![image](https://private-user-images.githubusercontent.com/13350158/364985727-53530c6c-6d47-4c57-a7e2-f321c6805b20.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NjU4MjcsIm5iZiI6MTczODk2NTUyNywicGF0aCI6Ii8xMzM1MDE1OC8zNjQ5ODU3MjctNTM1MzBjNmMtNmQ0Ny00YzU3LWE3ZTItZjMyMWM2ODA1YjIwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDIxNTg0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTllNzBkNjIxMjFmNjdhOWQ4YmM0YzUzNzExZDA0N2M5N2NkYmI5YTFjZmU5OWUxNzZiOTQ5M2JlOTQ4ZDg5NDcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.xw7bUII3HJeFiccBV7lT_wuTO5A6-k4SnT3-As1lrYE)
The text was updated successfully, but these errors were encountered: