Shimingyi / MotioNet

A deep neural network that directly reconstructs the motion of a 3D human skeleton from monocular video [ToG 2020]
https://rubbly.cn/publications/motioNet/
BSD 2-Clause "Simplified" License
554 stars 82 forks source link

prepare CMU issue #32

Closed aloizo03 closed 3 years ago

aloizo03 commented 3 years ago

When i run the command python ./data/prepare_cmu.py to prepare the cmubvh dataset print me this error Traceback (most recent call last): File "./data/prepare_cmu.py", line 11, in bvh_files = util.make_dataset(['/mnt/dataset/cmubvh'], phase='bvh', data_split=1, sort_index=0) File "./utils/util.py", line 21, in make_dataset assert os.path.isdir(dataroot), '%s is not a valid directory' % dataroot AssertionError: /mnt/dataset/cmubvh is not a valid directory

In the file data in repository i make the mnt/dataset/cmubvh and in the cmubvh i storage all the files that you tell in read me Best Antreas

Shimingyi commented 3 years ago

Hi Antreas,

You should make a new folder in /mnt/dataset/cmubvh if you want to use the code without any updates. Now you make a folder in the repository path? Maybe it's better to update the path in line 11 with the new absolute path...

aloizo03 commented 3 years ago

Hi Mingyi I updated beffore make the issue commit and i get the same message. With the make i mean i make the dataset folder which have the cmh files in the MotioNet file.

Shimingyi commented 3 years ago

Would you mind show me some screenshorts about your folder structure? For example, where do you store the bvh files, and how do you use it in the code.

aloizo03 commented 3 years ago

In the prepareCMU i have the bvh_files = util.make_dataset(['/MotioNet-master/dataset/cmubvh'], phase='bvh', data_split=1, sort_index=0) like this and the bvh file are storage into image

Shimingyi commented 3 years ago

Hi Andreas, I found two problems here. The path of this folder is not /MotioNet-master/dataset/cmubvh, it should be like /home/[username]/Documents/EPL400/MotioNet-master/.... And also, you should take out these files in this folder rather than put them in sub-folder.

aloizo03 commented 3 years ago

Hi Mingyi Thanks very much for the help now work all perfect with the cmu. I will close the issue now. Best regards Andreas.