pytorch_depth_from_videos_in_the_wild icon indicating copy to clipboard operation
pytorch_depth_from_videos_in_the_wild copied to clipboard

Fps error when running generate.py on custom video

Open Kwame261 opened this issue 1 year ago • 0 comments

Hello,

I tried to run generate.py on a custom video. I get this fps error, even though the fps is higher than the specified fps.

(inter) kwameampofo:~/pytorch_depth_from_videos_in_the_wild$ python gen_data.py --dataset_name video --dataset_dir /home/kwameampofo/cam_images --save_dir /home/kwameampofo/pytorch_depth_from_videos_in_the_wild --mask color 0.0 Traceback (most recent call last): File "gen_data.py", line 221, in _generate_data() File "gen_data.py", line 64, in _generate_data img_ext=FLAGS.save_img_ext File "/home/kwameampofo/pytorch_depth_from_videos_in_the_wild/datasets/data_prep/video_loader.py", line 79, in init self.vid2img() File "/home/kwameampofo/pytorch_depth_from_videos_in_the_wild/datasets/data_prep/video_loader.py", line 128, in vid2img assert raw_fps >= fps, "The specified fps is higher than the raw video" AssertionError: The specified fps is higher than the raw video

Kwame261 avatar Mar 02 '23 22:03 Kwame261