Closed andreixxi closed 3 years ago
@andreixxi Hello! I have no idea what is the problem. Can you download this file _datah36m.npz again and put it into data folder? I am worrying if the file is incomplete...
@Shimingyi I've tried redownloading it but the error persists. I was working in google colab so it must be something off there. However, when running it locally in jupyter notebook it worked, so I think I can close the issue.
Off topic, I have a few questions if you could answer them.
Thank you!
Yes, if you want to run the code with your own video, you need to prepare an openpose_results_folder and then modify this line so you can get the bvh output. You don't need to prepare any step for smoothing because I will update a version with it in 2 days, hope it can help.
Now we train the model in h36m dataset which is limited on camera view and pose diversity. If you really need an realiable results, it will be better to use a bigger dataset to fine-tune this network. The model with more data can give robuster results.
Our method doesn't predict the hand bone/fingers, it's very hard in this kind of skeleton setting...
looking forward to it!
@andreixxi Sorry for my late response, I am so busy in this time. I suppose it would be realeased in tomorrow!
hello! i've cloned the repo, downloaded the pretrained model and placed it in a new folder- 'checkpoints', the training data and placed it in the already existing folder 'data', but when running the following command
main(config, args, output_folder)
File "evaluate.py", line 73, in main
parameters = [torch.from_numpy(np.array(item)).float().to(device) for item in h36m_loader(config, is_training=True).dataset.get_parameters()]
File "/content/MotioNet/data/data_loaders.py", line 11, in init
self.dataset = h36m_dataset.h36m_dataset(config, is_train=is_training)
File "/content/MotioNet/data/h36m_dataset.py", line 22, in init
positions_set = np.load('./data/data_h36m.npz', allow_pickle=True)['positions_3d'].item()
File "/usr/local/lib/python3.6/dist-packages/numpy/lib/npyio.py", line 432, in load
pickle_kwargs=pickle_kwargs)
File "/usr/local/lib/python3.6/dist-packages/numpy/lib/npyio.py", line 186, in init
_zip = zipfile_factory(fid)
File "/usr/local/lib/python3.6/dist-packages/numpy/lib/npyio.py", line 112, in zipfile_factory
return zipfile.ZipFile(file, *args, **kwargs)
File "/usr/lib/python3.6/zipfile.py", line 1131, in init
self._RealGetContents()
File "/usr/lib/python3.6/zipfile.py", line 1198, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
Exception ignored in: <bound method NpzFile.del of <numpy.lib.npyio.NpzFile object at 0x7f5b14ae70f0>>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/numpy/lib/npyio.py", line 223, in del
self.close()
File "/usr/local/lib/python3.6/dist-packages/numpy/lib/npyio.py", line 214, in close
if self.zip is not None:
AttributeError: 'NpzFile' object has no attribute 'zip'
![image](https://user-images.githubusercontent.com/45465662/103404264-9c38b000-4b5b-11eb-9432-0b2954105cdf.png)
python evaluate.py -r ./checkpoints/wild_gt_tcc.pth -i demo
i get this error:Building the network Traceback (most recent call last): File "evaluate.py", line 137, in
here is my project structure: