Skip to content
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

Error in gendata/gendb.py File #9

Open
Zinia17 opened this issue Jan 4, 2024 · 5 comments
Open

Error in gendata/gendb.py File #9

Zinia17 opened this issue Jan 4, 2024 · 5 comments

Comments

@Zinia17
Copy link

Zinia17 commented Jan 4, 2024

Hi,
I have followed the instruction to process total capture dataset you have described. After organizing all the fills as you have mentioned, while I run the command, python gendata/gendb.py it was running perfectly and giving verbose like the followings:
100%|███████████████████████████████████████| 3385/3385 [00:45<00:00, 74.29it/s]
100%|███████████████████████████████████████| 3385/3385 [00:45<00:00, 74.34it/s]
100%|███████████████████████████████████████| 2421/2421 [00:32<00:00, 74.43it/s]

But unfortunately after a long time it gives a key error as bellow:
Traceback (most recent call last): File "./TotalCapture-Toolbox-master/gendata/gendb.py", line 368, in <module> train_dataset = extract_db(config, train_dir_meta, cameras) File "./TotalCapture-Toolbox-master/gendata/gendb.py", line 129, in extract_db vid_frame_num = int(vid_info['video']['@nb_frames']) KeyError: 'video'
Can you please help me resolve it?

@akusdhgfu
Copy link

Hi, I have followed the instruction to process total capture dataset you have described. After organizing all the fills as you have mentioned, while I run the command, python gendata/gendb.py it was running perfectly and giving verbose like the followings: 100%|███████████████████████████████████████| 3385/3385 [00:45<00:00, 74.29it/s] 100%|███████████████████████████████████████| 3385/3385 [00:45<00:00, 74.34it/s] 100%|███████████████████████████████████████| 2421/2421 [00:32<00:00, 74.43it/s]

But unfortunately after a long time it gives a key error as bellow: Traceback (most recent call last): File "./TotalCapture-Toolbox-master/gendata/gendb.py", line 368, in <module> train_dataset = extract_db(config, train_dir_meta, cameras) File "./TotalCapture-Toolbox-master/gendata/gendb.py", line 129, in extract_db vid_frame_num = int(vid_info['video']['@nb_frames']) KeyError: 'video' Can you please help me resolve it?

I also encountered the same problem, have you solved it?
08ef4be28bb8cc6e24ace5e961c63d5

@Zinia17
Copy link
Author

Zinia17 commented Jan 11, 2024

Hi, I have followed the instruction to process total capture dataset you have described. After organizing all the fills as you have mentioned, while I run the command, python gendata/gendb.py it was running perfectly and giving verbose like the followings: 100%|███████████████████████████████████████| 3385/3385 [00:45<00:00, 74.29it/s] 100%|███████████████████████████████████████| 3385/3385 [00:45<00:00, 74.34it/s] 100%|███████████████████████████████████████| 2421/2421 [00:32<00:00, 74.43it/s]
But unfortunately after a long time it gives a key error as bellow: Traceback (most recent call last): File "./TotalCapture-Toolbox-master/gendata/gendb.py", line 368, in <module> train_dataset = extract_db(config, train_dir_meta, cameras) File "./TotalCapture-Toolbox-master/gendata/gendb.py", line 129, in extract_db vid_frame_num = int(vid_info['video']['@nb_frames']) KeyError: 'video' Can you please help me resolve it?

I also encountered the same problem, have you solved it? 08ef4be28bb8cc6e24ace5e961c63d5

I could not solve it yet.

@akusdhgfu
Copy link

I have successfully solved it. The reason for the error is that there are only MP4 files of 6 cameras in the s2_mattes/S2/acting1 folder, while other folders have MP4 files of 8 cameras. I also emailed the release team of the dataset and they said there was an issue with the remaining camera data.

@Zinia17
Copy link
Author

Zinia17 commented Jan 21, 2024

Nice. So, did you executed the code for 6 camera?

@akusdhgfu
Copy link

Nice. So, did you executed the code for 6 camera?

Yes, I modified the code so that it ignores the two missing MP4 files in the S2/acting1 folder and it can run smoothly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants