MotionGPT
MotionGPT copied to clipboard
FileNotFoundError: [Errno 2] No such file or directory:
python demo.py --cfg ./configs/config_h3d_stage3.yaml --example ./demos/t2m.txt
FileNotFoundError: [Errno 2] No such file or directory: 'deps/t2m/t2m\VQVAEV3_CB1024_CMT_H1024_NRES3\meta\mean.npy'
But, I have this file.
So, my file path is t2m folder is repeated 3 times
I followed the Quick Start guideline exactly, but is it just me?
Same as yours. The downloaded dataset seems to have some issues
I fixed it by changing the paths in mGPT/data/HumanML3D.py
# Mean and std of the dataset
dis_data_root = pjoin(cfg.DATASET.HUMANML3D.MEAN_STD_PATH, 't2m/t2m', "VQVAEV3_CB1024_CMT_H1024_NRES3", "meta")
self.hparams.mean = np.load(pjoin(dis_data_root, "mean.npy"))
self.hparams.std = np.load(pjoin(dis_data_root, "std.npy"))
# Mean and std for fair evaluation
dis_data_root_eval = pjoin(cfg.DATASET.HUMANML3D.MEAN_STD_PATH, 't2m/t2m', "Comp_v6_KLD01", "meta")
self.hparams.mean_eval = np.load(pjoin(dis_data_root_eval, "mean.npy"))
self.hparams.std_eval = np.load(pjoin(dis_data_root_eval, "std.npy"))
and in configs/assets.yaml
DATASET:
TASK_ROOT: deps/mGPT_instructions
SMPL_PATH: deps/smpl
TRANSFORM_PATH: deps/transforms/
WORD_VERTILIZER_PATH: deps/t2m/glove/
hope it helps!
paths in the configuration file need adjustment.