2.5D-Visual-Sound icon indicating copy to clipboard operation
2.5D-Visual-Sound copied to clipboard

The AudioVisualDataset class tries to open non-existing frames

Open Alexgoon opened this issue 4 years ago • 2 comments

Hello, I haven't digged too much yet, but it seems that the AudioVisualDataset.getitem method opens an image (frame) that doesn't exist: frame = process_image(Image.open(os.path.join(frame_path, str(frame_index).zfill(6) + '.png')).convert('RGB'), self.opt.enable_data_augmentation)

I didn't find any code the creates these images. Am I supposed to implement logic to create them?

Alexgoon avatar Sep 03 '20 20:09 Alexgoon

From what I've experienced, you have to use something like ffmpeg to create them yourself

vinayak19th avatar Nov 24 '20 05:11 vinayak19th

I have done a script to extract those frames.

You can find it here.

paumarquez avatar Jan 19 '21 20:01 paumarquez