You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know why I am getting that error, The path is correct and video is also fine.
The video file '/assets/data/EMOCA_test_example_data/videos/82-25-854x480_affwild2.mp4' is corrupted. Skipping it.
Processing dataset
0%| | 0/1 [00:00<?, ?it/s]/assets/data/EMOCA_test_example_data/videos/82-25-854x480_affwild2.mp4
The video file '/assets/data/EMOCA_test_example_data/videos/82-25-854x480_affwild2.mp4' is corrupted. Skipping it.
100%|███████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 55.22it/s]
Traceback (most recent call last):
File "gdl_apps/EMOCA/demos/test_emoca_on_video.py", line 172, in
main()
File "gdl_apps/EMOCA/demos/test_emoca_on_video.py", line 167, in main
reconstruct_video(args)
File "gdl_apps/EMOCA/demos/test_emoca_on_video.py", line 62, in reconstruct_video
dm.prepare_data()
File "/home/abbas/anaconda3/envs/emoo36/lib/python3.8/site-packages/pytorch_lightning/core/datamodule.py", line 428, in wrapped_fn
fn(*args, **kwargs)
File "/home/abbas/emoca/gdl/datasets/FaceVideoDataModule.py", line 3192, in prepare_data
self._gather_data(exist_ok=True)
File "/home/abbas/emoca/gdl/datasets/FaceVideoDataModule.py", line 3214, in _gather_data
self._gather_video_metadata()
File "/home/abbas/emoca/gdl/datasets/FaceVideoDataModule.py", line 1570, in _gather_video_metadata
del self.annotation_list[vi]
IndexError: list assignment index out of range
The text was updated successfully, but these errors were encountered:
FYI: I fixed the problem.
my ffmpeg was corrupted. Whenever I tried to call ffmpeg from the terminal I got this message: "ffprobe: error while loading shared libraries: libopenh264.so.5: cannot open shared object file: No such file or directory"
I have solved it by downloading from here my binary: https://github.com/cisco/openh264/releases/tag/v2.1.1 then extract it and renaming it to libopenh264.so.5 and then moving it to "${CONDA_PREFIX}/lib".
Also I add in the emoca/gdl/utils/FaceVideoDataModule.py the import ffmpeg (not sure if needed but on my system works).
Also the test video from there didn't work but my own input video works (don't know why)
I don't know why I am getting that error, The path is correct and video is also fine.
The video file '/assets/data/EMOCA_test_example_data/videos/82-25-854x480_affwild2.mp4' is corrupted. Skipping it.
Processing dataset
0%| | 0/1 [00:00<?, ?it/s]/assets/data/EMOCA_test_example_data/videos/82-25-854x480_affwild2.mp4
The video file '/assets/data/EMOCA_test_example_data/videos/82-25-854x480_affwild2.mp4' is corrupted. Skipping it.
100%|███████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 55.22it/s]
Traceback (most recent call last):
File "gdl_apps/EMOCA/demos/test_emoca_on_video.py", line 172, in
main()
File "gdl_apps/EMOCA/demos/test_emoca_on_video.py", line 167, in main
reconstruct_video(args)
File "gdl_apps/EMOCA/demos/test_emoca_on_video.py", line 62, in reconstruct_video
dm.prepare_data()
File "/home/abbas/anaconda3/envs/emoo36/lib/python3.8/site-packages/pytorch_lightning/core/datamodule.py", line 428, in wrapped_fn
fn(*args, **kwargs)
File "/home/abbas/emoca/gdl/datasets/FaceVideoDataModule.py", line 3192, in prepare_data
self._gather_data(exist_ok=True)
File "/home/abbas/emoca/gdl/datasets/FaceVideoDataModule.py", line 3214, in _gather_data
self._gather_video_metadata()
File "/home/abbas/emoca/gdl/datasets/FaceVideoDataModule.py", line 1570, in _gather_video_metadata
del self.annotation_list[vi]
IndexError: list assignment index out of range
The text was updated successfully, but these errors were encountered: