caizhongang / SMPLer-X

Official Code for "SMPLer-X: Scaling Up Expressive Human Pose and Shape Estimation"
https://caizhongang.github.io/projects/SMPLer-X/
Other
1.02k stars 73 forks source link

How transform the dataset to HumanData? #68

Open Zhiying-Li-dot opened 4 months ago

Zhiying-Li-dot commented 4 months ago

I prepared the PW3D dataset according to its structure, imageFiles, sequenceFiles, pw3d_test.npz. But when I run the code sh slurm_test.sh PW3D 1 /data/zhiyingli/SMPLer-X/output/demo_inference_ test_video_20240714_233411/ 0 But the following error is reported: Traceback (most recent call last): File "test.py", line 79, in <module> main() File "test.py", line 42, in main tester._make_batch_generator() File "/data/zhiyingli/SMPLer-X/main/../common/base.py", line 274, in _make_batch_generator testset_loader = eval(cfg.testset)(transforms.ToTensor(), "test") File "/data/zhiyingli/SMPLer-X/main/../data/PW3D/PW3D.py", line 27, in __init__ self.datalist = self.load_data() File "/data/zhiyingli/SMPLer-X/main/../data/PW3D/PW3D.py", line 30, in load_data db = COCO(osp.join(self.data_path, '3DPW_' + self.data_split + '.json')) File "/data/fanzhaoxin2/.conda/envs/smplerx/lib/python3.8/site-packages/pycocotools/coco.py", line 81, in __init__ with open(annotation_file, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/data/zhiyingli/SMPLer-X/main/../dataset/PW3D/data/3DPW_test.json' Please help me to solve the problem. Thank you.