anibali / h36m-fetch Goto Github PK
View Code? Open in Web Editor NEWHuman 3.6M 3D human pose dataset fetcher
License: Apache License 2.0
Human 3.6M 3D human pose dataset fetcher
License: Apache License 2.0
In process_all.py
why frames = frame_indices + 1
?
Why frame indices begin from 1? not 0?
Thanks!
I have (it seems) successfully run the download.py and extract.py scripts.
But when I run the process_all.py script it runs, but there are no files in the 'imageSequence' folders.
A 'processed' folder is created, has folders within it, but no image files.
Running Ubuntu 18.04LTS
Any ideas why?
Errors:
Error processing sequence, skipping: ('S11', '16', '1', '54138969'):00<?, ?it/s]
Error processing sequence, skipping: ('S11', '16', '1', '55011271')
Error processing sequence, skipping: ('S11', '16', '1', '58860488')
Error processing sequence, skipping: ('S11', '16', '1', '60457274')
100%|########################################8| 209/210 [00:29<00:00, 7.16it/sError processing sequence, skipping: ('S11', '16', '2', '54138969'):00<?, ?it/s]
Error processing sequence, skipping: ('S11', '16', '2', '55011271')
Error processing sequence, skipping: ('S11', '16', '2', '58860488')
Error processing sequence, skipping: ('S11', '16', '2', '60457274')
Hi, i am a developer, but not an student. It is hard for me to apply the human3.6m dataset from the website, can you share the dataset with me, thanks~
!!! Error processing sequence, skipping: ('S1', '16', '1', '55011271')
Traceback (most recent call last):
File ".\process_all.py", line 150, in process_subaction
annots = process_view(out_dir, subject, action, subaction, camera)
File ".\process_all.py", line 117, in process_view
path.join(tmp_dir, 'img_%06d.jpg')
File "C:\Users\DELL\anaconda3\lib\subprocess.py", line 339, in call
with Popen(*popenargs, **kwargs) as p:
File "C:\Users\DELL\anaconda3\lib\subprocess.py", line 800, in __init__
restore_signals, start_new_session)
File "C:\Users\DELL\anaconda3\lib\subprocess.py", line 1207, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] Не удается найти указанный файл
!!! Error processing sequence, skipping: ('S1', '16', '1', '58860488')
Traceback (most recent call last):
File ".\process_all.py", line 150, in process_subaction
annots = process_view(out_dir, subject, action, subaction, camera)
File ".\process_all.py", line 117, in process_view
path.join(tmp_dir, 'img_%06d.jpg')
File "C:\Users\DELL\anaconda3\lib\subprocess.py", line 339, in call
with Popen(*popenargs, **kwargs) as p:
File "C:\Users\DELL\anaconda3\lib\subprocess.py", line 800, in __init__
restore_signals, start_new_session)
File "C:\Users\DELL\anaconda3\lib\subprocess.py", line 1207, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] Не удается найти указанный файл
!!! Error processing sequence, skipping: ('S1', '16', '1', '60457274')
Traceback (most recent call last):
File ".\process_all.py", line 150, in process_subaction
annots = process_view(out_dir, subject, action, subaction, camera)
File ".\process_all.py", line 117, in process_view
path.join(tmp_dir, 'img_%06d.jpg')
File "C:\Users\DELL\anaconda3\lib\subprocess.py", line 339, in call
with Popen(*popenargs, **kwargs) as p:
File "C:\Users\DELL\anaconda3\lib\subprocess.py", line 800, in __init__
restore_signals, start_new_session)
File "C:\Users\DELL\anaconda3\lib\subprocess.py", line 1207, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] Не удается найти указанный файл
I am getting the above error message when I run process_all.py. I am pretty sure that I have extracted all the files correctly. @anibali could you please suggest a solution? Thanks.
Originally posted by @yerzhan7orazayev in #22 (comment)
Hi, thanks for your repo. I've been trying to use your code to fetch the data. However, I encounter the error:
FileNotFoundError: [Errno 2] No such file or directory: 'axel'
I double-checked the file directory. Do you know what caused this issue? Thanks
Dear anibali:
Could you tell me that how long did it take you to get your account approved? Because some people said that they haven't get the account approved from several months ago. Thank you very much!
The process_all.py
script processes every 64th frame for the subjects 'S9' and 'S11' in lines:
if subject == 'S9' or subject == 'S11':
return np.arange(0, len(poses_3d_univ), 64)
How can I change the above code to process all frames, without skipping any?
Tried: Replacing 64
with 1
and all
but did not work
hello, i wonder how the mask in h36m is genereted? is it got by some auto-label method?
when i try to run process_all.py, i got this error message: "spacepy.pycdf.CDFError: NO_SUCH_CDF: The specified CDF does not exist", i already install the requirements.txt using pip, can someone help me please
docker command is working for extract_all.py, but when i run process_all.py, it pops out ""Error processing sequence, skipping", when does it occur and how to solve it?
thanks
I am researching 3D HPE in graduate school, and I really want to use the human3.6m dataset :)
╰─➤ python download_all.py
Could not read PHPSESSID from config.ini
.
Enter PHPSESSID: YunYang
Traceback (most recent call last):
File "download_all.py", line 106, in
verify_phpsessid(phpsessid)
File "download_all.py", line 59, in verify_phpsessid
assert resp.url == test_url, fail_message
AssertionError: Failed to verify your PHPSESSID. Please ensure that you are currently logged in at http://vision.imar.ro/human3.6m/ and that you have copied the PHPSESSID cookie correctly.
Thank you for providing this useful fetcher! I want to project the 3d poses into the image however I could not find the extrinsic parameters to do so. Would you be able to provided that as well?
I downloaded Poses_D2_Positions_S1 from the official website of human3.6m. After parsing, I got an array of 1x1383x64. I wonder if this means that these data have 1383 frames each containing 32 key points. If so, I would like to know what are the positions of these 32 key points?
I found some keypoint values are not correct, and them are a bit shift from the correct position.
What are the possible reasons?
Hi there,
I have issues on installing axel, so I download data from http://vision.imar.ro/human3.6m/filebrowser.php manually.
And I tried md5sum -c checksums.txt
and it turns out archives/Videos_S11.tgz: FAILED
(All others are fine)
So I really wonder is it because I download a wrong version of videos of Subject 11?
Thank you!
i decoded h36m dataset to h5 format, for each data subset, there are 4 views and 500 images per view, 2000 images totally.
on hdf viewer(to read the data inside h5 file), i can see 2000_32_2 for 2d, and 2000_32_3 for 3d, so my question is where to find ground truth of 3d joint points, in my understanding, it should be 500_32_3 for 3d, am i right or wrong?
The issue is same as this one ->
#1
But that issue was closed with no solution mentioned. Can you please help, it is showing 'Too many redirects' error.
Hello,
I installed python3, axel, and CDF, then I ran . However, I got the following error.
Traceback (most recent call last):
File "download_all.py", line 99, in
download_all(phpsessid)
File "download_all.py", line 93, in download_all
download_file(BASE_URL + '?' + query, out_file, phpsessid)
File "download_all.py", line 38, in download_file
url])
File "/home/user1/anaconda3/lib/python3.5/subprocess.py", line 247, in call
with Popen(*popenargs, **kwargs) as p:
File "/home/user1/anaconda3/lib/python3.5/subprocess.py", line 676, in init
restore_signals, start_new_session)
File "/home/user1/anaconda3/lib/python3.5/subprocess.py", line 1289, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'axel'
it seems that they stores the same value
Can you please help me explain the differences between D3_positions, D3_position_mono and D3_position_mono_universal? What are their meanings?
Thank you so much!
Hi, I saw there are plenty of duplicated videos. What's the difference between Directions 1.54138969 and Directions.54138969?
Lines 99 to 100 in 4ae1238
can i directly download the human3.6m use "https://drive.google.com/drive/folders/1kgVH-GugrLoc9XyvP6nRoaFpw3TmM5xK?usp=sharing"? Is the content the same as your h36m ?
Hi there
I am running through the preprocessing scripts, and download_all.py works ok, but I am getting error messages when running extract_all.py.
Only 1 folder 'S1' is created and get these error messages: (Am I missing a module?)
python3 extract_all.py
0%| | 0/7 [00:00<?, ?it/s]
Traceback (most recent call last):
File "/usr/lib/python3.6/tarfile.py", line 1643, in gzopen
t = cls.taropen(name, mode, fileobj, **kwargs)
File "/usr/lib/python3.6/tarfile.py", line 1619, in taropen
return cls(name, mode, fileobj, **kwargs)
File "/usr/lib/python3.6/tarfile.py", line 1482, in init
self.firstmember = self.next()
File "/usr/lib/python3.6/tarfile.py", line 2297, in next
tarinfo = self.tarinfo.fromtarfile(self)
File "/usr/lib/python3.6/tarfile.py", line 1092, in fromtarfile
buf = tarfile.fileobj.read(BLOCKSIZE)
File "/usr/lib/python3.6/gzip.py", line 276, in read
return self._buffer.read(size)
File "/usr/lib/python3.6/_compression.py", line 68, in readinto
data = self.read(len(byte_view))
File "/usr/lib/python3.6/gzip.py", line 463, in read
if not self._read_gzip_header():
File "/usr/lib/python3.6/gzip.py", line 411, in _read_gzip_header
raise OSError('Not a gzipped file (%r)' % magic)
OSError: Not a gzipped file (b'\x00\x00')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "extract_all.py", line 50, in
extract_all()
File "extract_all.py", line 46, in extract_all
path.join(out_dir, 'Videos'))
File "extract_all.py", line 24, in extract_tgz
with tarfile.open(tgz_file, 'r:gz') as tar:
File "/usr/lib/python3.6/tarfile.py", line 1589, in open
return func(name, filemode, fileobj, **kwargs)
File "/usr/lib/python3.6/tarfile.py", line 1647, in gzopen
raise ReadError("not a gzip file")
tarfile.ReadError: not a gzip file
Traceback (most recent call last):
97%|#########6| 29/30 [00:18<00:00, 1.53it/s]
File "D:/limengyi/learning/motioNet/h36m-fetch/process_all.py", line 146, in process_subaction
annots = process_view(out_dir, subject, action, subaction, camera)
97%|#########6| 29/30 [00:18<00:00, 1.53it/s]
File "D:/limengyi/learning/motioNet/h36m-fetch/process_all.py", line 90, in process_view
75%|#######5 | 3/4 [00:00<00:00, 10.09it/s]
frame_indices = select_frame_indices_to_include(subject, poses_3d_univ)
File "D:/limengyi/learning/motioNet/h36m-fetch/process_all.py", line 49, in select_frame_indices_to_include
max_move = ((joints3d - prev_joints3d) ** 2).sum(axis=-1).max()
File "D:\anaconda\envs\python36\lib\site-packages\numpy\core_methods.py", line 47, in _sum
return umr_sum(a, axis, dtype, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'
!!! Error processing sequence, skipping: ('S5', '15', '2', '58860488')
27%|###########3 | 57/210 [00:08<00:22, 6.79it/s]
Traceback (most recent call last):
File "/home/disk_share/hoh/data/learnable-triangulation/data/h36m-fetch/process_all.py", line 144, in process_subaction
annots = process_view(out_dir, subject, action, subaction, camera)
File "/home/disk_share/hoh/data/learnable-triangulation/data/h36m-fetch/process_all.py", line 106, in process_view
call([
File "/home/hoh/disk/anaconda3/envs/torch/lib/python3.8/subprocess.py", line 340, in call
with Popen(*popenargs, **kwargs) as p:
File "/home/hoh/disk/anaconda3/envs/torch/lib/python3.8/subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/hoh/disk/anaconda3/envs/torch/lib/python3.8/subprocess.py", line 1706, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'
27%|###########3 | 57/210 [00:08<00:22, 6.79it/s]
!!! Error processing sequence, skipping: ('S5', '15', '2', '60457274')
27%|###########3 | 57/210 [00:08<00:22, 6.79it/s]
Traceback (most recent call last):
File "/home/disk_share/hoh/data/learnable-triangulation/data/h36m-fetch/process_all.py", line 144, in process_subaction
annots = process_view(out_dir, subject, action, subaction, camera)
File "/home/disk_share/hoh/data/learnable-triangulation/data/h36m-fetch/process_all.py", line 106, in process_view
call([
File "/home/hoh/disk/anaconda3/envs/torch/lib/python3.8/subprocess.py", line 340, in call
with Popen(*popenargs, **kwargs) as p:
File "/home/hoh/disk/anaconda3/envs/torch/lib/python3.8/subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/hoh/disk/anaconda3/envs/torch/lib/python3.8/subprocess.py", line 1706, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'
Processing can be performed here, but in the end, only the corresponding folder in the process has no results
Excuse me, sir, I need help! I allow process in this place_ There is a problem with all.py. Cut the pictures that are not cropped out in the corresponding folder (S11)
Originally posted by @HOH980820 in #52 (comment)
It says too many redirects. Which version of axel do you use?
Initializing download: http://vision.imar.ro/human3.6m/filebrowser.php?download=1&filepath=Poses/D2_Positions&filename=SubjectSpecific_3.tgz
Too many redirects.
Hello, could you please provide metadata.xml v1.2? I have registered an account on the official website for a long time but failed to pass it, so I can't download it through the official website. Do you have the v1.2 version?
When running the preprocess_all.py
script, it returned the following error: fmpeg: error while loading shared libraries: libx264.so.138: cannot open shared object file: No such file or directory
Full error log:
fmpeg: error while loading shared libraries: libx264.so.138: cannot open shared object file: No such file or directory | 0/4 [00:00<?, ?it/s]
!!! Error processing sequence, skipping: ('S11', '16', '2', '54138969')
Traceback (most recent call last):
File "/home/user/miniconda/lib/python3.6/shutil.py", line 544, in move
os.rename(src, real_dst)
OSError: [Errno 18] Invalid cross-device link: '/tmp/tmp_eyben20/img_000001.jpg' -> 'processed/S11/WalkingTogether-2/imageSequence/54138969/img_000001.jpg'
I could solve it by deleting the version tag from ffmpeg=3.2.4
in the Dockerfile and rebuilding the container afterwards. The version which was then installed was ffmpeg-4.1
.
Hi, I run the script but encounter the problem that,
missing data for S11/WalkingDog.54138969
missing data for S11/WalkingDog.55011271
missing data for S11/WalkingDog.58860488
missing data for S11/WalkingDog.60457274
since i can't ask for the dataset because you don't have permission to redistribute, can i have the preprocess dataset?, i already register for a pretty long time in vision.imar.ro, but they still not verificate my account
After extracting the data, I don't see the depth image data. Will the download_all.py script download depth image data? Thanks!
hi,
I can't download human 3.6. Can you provide human 3.6 data set?
Thank in advance! >.<
I am trying for the last 15 days to access the dataset. I have created an account on the site but no one has yet grant me access to the dataset.
Do you know what applies to this site? Is it active? Has anyone recently managed to download the dataset as described in the Usage section?
Looking forward for your reply and help.
Pip is having a hard time resolving the dependencies in current requirements.txt. I'd suggest a more permissive one, or an entirely frozen one, with all versions already resolved.
All people around me haven't the account, so I can't download the dataset.
Could you give me a PHPSESSID?
Thank you very much!
The maintainers are no longer active, is there any other way to get access to the dataset?
The 3D poses generated after compiling the process_all.py file generate poses in the World Coordinated System or Camera Coordinated System?
python process_all.py
Traceback (most recent call last):
File "process_all.py", line 4, in
from spacepy import pycdf
File "/home/chuanjiang/anaconda3/lib/python3.7/site-packages/spacepy/pycdf/init.py", line 1258, in
'before import.').format(', '.join(_libpath)))
Exception: Cannot load CDF C library; checked . Try 'os.environ["CDF_LIB"] = library_directory' before import.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.