3DMPPE_POSENET_RELEASE icon indicating copy to clipboard operation
3DMPPE_POSENET_RELEASE copied to clipboard

Extracting human36 parsed images

Open vigneshrk29 opened this issue 1 year ago • 12 comments

Hello,

I am trying to extract the parsed images of human36m. I could only get images.tar.gzaa to work the sh command. But I get the following error: gzip: stdin: unexpected end of file images/s_05_act_06_subact_01_ca_02/s_05_act_06_subact_01_ca_02_000871.jpg tar: Unexpected EOF in archive tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now

Which results in the following error when I run test.py: OSError: Fail to read ../data/Human36M/images/s_09_act_02_subact_01_ca_01/s_09_act_02_subact_01_ca_01_000001.jpg

How do I fix this?

vigneshrk29 avatar May 25 '23 11:05 vigneshrk29

Additionally, do I need all the images.tar.gzaa files to run test.py?

vigneshrk29 avatar May 25 '23 11:05 vigneshrk29

Download all tar.gz* and run sh extract_targz.sh

mks0601 avatar May 25 '23 14:05 mks0601

Hi,

I downloaded all the files and ran all the data. Still some folders required for testing are missing. Like s_11_act_06_subact_02_ca_02. Is it possible to just share the parsed data of subjects 9 and 11? Else how to proceed?

Thanks

vigneshrk29 avatar May 26 '23 12:05 vigneshrk29

I think you didn't download properly.

  1. Download all tar.gz* and do not change their name
  2. check md5sum
  3. run the script that I uploaded (extract_targz.sh)

mks0601 avatar May 26 '23 14:05 mks0601

Hi,

I re-downloaded everything, ran md5sum and ran the script. Still the error that some images are missing keeps occuring. Is there: 1 ) a way to specify a specific folder from the downloaded images to run testing 2) Just get the parsed data for subject 11 and 9

vigneshrk29 avatar May 29 '23 15:05 vigneshrk29

I've just downloaded and checked there is no problem. I can see s_11_act_06_subact_02_ca_02. Are you using Window? To answer your questions, there is no way for that.

mks0601 avatar May 29 '23 17:05 mks0601

Yes, I am working on windows (WSL). The data is unzipped to an external hardisk as I dont have that much space on my laptop. For example, how many times I run the extract code, the folder s09_act_02_subact_01_01 is never unzipped

vigneshrk29 avatar May 29 '23 17:05 vigneshrk29

I guess that is the problem. I have seen some guys fail to unzip data with Window. Do you have any linux machines?

mks0601 avatar May 29 '23 17:05 mks0601

I have windows subsystem for linux but the space is not sufficient. Is there anyway to make it work on a windows system?

vigneshrk29 avatar May 29 '23 17:05 vigneshrk29

sorry I have no window machine, so I can't do any test..

mks0601 avatar May 29 '23 18:05 mks0601

I run the command in Linux. but it still return wrong. File "E:\Tools\anaconda\envs\cv\lib\site-packages\torch\utils\data_utils\collate.py", line 163, in collate_tensor_fn return torch.stack(batch, 0, out=out) RuntimeError: stack expects each tensor to be equal size, but got [15, 3] at entry 0 and [16, 3] at entry 1

The files download saved in the harddisk: augmented_set.tar-004.gzaa, augmented_set.tar-007.gzab, augmented_set.tar-005.gzac, augmented_set.tar-006.gzad

tribeband avatar Jun 27 '23 10:06 tribeband

Please do not change the filenames. The original ones do not have -004, -007 like this. And run extract_targz.sh to unzip them

mks0601 avatar Jun 27 '23 12:06 mks0601