-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing subdataset "humanact12" when run script raw_pose_processing.ipynb #54
Comments
Hi, humanact12 dataset is already included in the git repository. You need
to unzip it.
…On Sun, Apr 23, 2023 at 11:24 PM spzhuang ***@***.***> wrote:
During run raw_pose_processing.ipynb, It report mistake.
# codes in raw_pose_processing.ipynb
for i in tqdm(range(total_amount)):
source_path = index_file.loc[i]['source_path']
new_name = index_file.loc[i]['new_name']
data = np.load(source_path)
start_frame = index_file.loc[i]['start_frame']
end_frame = index_file.loc[i]['end_frame']
if 'humanact12' not in source_path:
if 'Eyes_Japan_Dataset' in source_path:
data = data[3*fps:] # fps=20,它在上一个cell中定义
if 'MPI_HDM05' in source_path:
data = data[3*fps:]
if 'TotalCapture' in source_path:
data = data[1*fps:]
if 'MPI_Limits' in source_path:
data = data[1*fps:]
if 'Transitions_mocap' in source_path:
data = data[int(0.5*fps):]
data = data[start_frame:end_frame]
data[..., 0] *= -1
data_m = swap_left_right(data)# save_path = pjoin(save_dir, )
np.save(pjoin(save_dir, new_name), data)
np.save(pjoin(save_dir, 'M'+new_name), data_m)
The Mistake:
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/tmp/ipykernel_1288084/2659050203.py in
2 source_path = index_file.loc[i]['source_path']
3 new_name = index_file.loc[i]['new_name']
----> 4 data = np.load(source_path)
5 start_frame = index_file.loc[i]['start_frame']
6 end_frame = index_file.loc[i]['end_frame']
/usr/local/anaconda3/envs/torch_render/lib/python3.7/site-packages/numpy/lib/npyio.py in load(file, mmap_mode, allow_pickle, fix_imports, encoding)
415 own_fid = False
416 else:
--> 417 fid = stack.enter_context(open(os_fspath(file), "rb"))
418 own_fid = True
419
FileNotFoundError: [Errno 2] No such file or directory: '[./pose_data/humanact12/humanact12/P11G01R02F1812T1847A0402.npy](https://vscode-remote+ssh-002dremote-002b192-002e168-002e0-002e17.vscode-resource.vscode-cdn.net/home/jianchang/myproject/HumanML3D/pose_data/humanact12/humanact12/P11G01R02F1812T1847A0402.npy)'
*Anying idea for the situation!*
—
Reply to this email directly, view it on GitHub
<#54>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKRYNBYOHZOMA5KTUO5XQC3XCYFA7ANCNFSM6AAAAAAXJB63OY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I searched the repository file carefully, but still found nothing about humanact12, even though I used the command |
Please check this:
https://github.com/EricGuo5513/HumanML3D/blob/main/pose_data/humanact12.zip
…On Mon, Apr 24, 2023 at 12:01 AM spzhuang ***@***.***> wrote:
I searched the repository file carefully, but still found nothing about
humanact12, even though I used the command find . -regex '. +?humanact12'
.
Can you be more specific about the location of the dataset hhumanact12?
—
Reply to this email directly, view it on GitHub
<#54 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKRYNB6J7KL6EPXQIGTEHBLXCYJLFANCNFSM6AAAAAAXJB63OY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thank you very much. |
That is fine. Glad you solved the problem.
…On Mon, Apr 24, 2023 at 12:12 AM spzhuang ***@***.***> wrote:
Thank you very much.
I have already remember some details about running script
raw_pose_processing.ipynb.
When deal data from amass_data to pose_data, I meet a mistake, the code
can't deal file likes "LICENSE.txt" which download from AMASS url. So I
delete the pose_data file and all "LICENSE.txt", and then redeal the data
from amass_data to pose_data. Hence, I found nothing about humanact12.zip.
Thank you again!
You can close this topic .
—
Reply to this email directly, view it on GitHub
<#54 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKRYNB46C6R2YOPUGVVBCRDXCYKWPANCNFSM6AAAAAAXJB63OY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
During run raw_pose_processing.ipynb, It report mistake.
The Mistake:
Anying idea for the situation!
The text was updated successfully, but these errors were encountered: