ShirleyMaxx / ChimpACT

[NeurIPS D&B 2023] Offical Pytorch implementation of "ChimpACT: A Longitudinal Dataset for Understanding Chimpanzee Behaviors"
10 stars 1 forks source link

Error: failed to generate train.json #1

Open rizarae-p opened 5 months ago

rizarae-p commented 5 months ago

Hello! Thank you for providing the dataset and code for your interesting project. :) I followed the installation steps you provided in the README file and ran process_data.sh.

The code was able to successfully extract the images using ffmeg and generate the train/test/val directories with the corresponding images and videos. However, I ran into an error when generating train.json. Screenshot from 2024-04-16 02-58-36

May I ask if you could help me solve this issue?

For reference, this is my directory tree: Screenshot from 2024-04-16 03-03-51

Thank you so much :)

ShirleyMaxx commented 5 months ago

Hi, thank you for your interest in our work. Looking at the error message in the first screenshot, it indicates that the number of frames does not match the number of extracted images. I suspect the issue lies with FFmpeg's image extraction process, meaning that the images folder under ChimpACT_processed might be incorrect.

rizarae-p commented 5 months ago

Thank you for your response. I used your script that contains the ffmepg extraction commands. How do you suggest we fix this?

ShirleyMaxx commented 2 weeks ago

Could it be that ffmpeg failed to decompress correctly? I've used this script many times without encountering this error.