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
Use imageio to extract video in feature_extractor. In extract_frame.append(imgs[n]), a list index out of range error will appear. It stands to reason that 160 frames should be extracted from vid (16 frames per second, total 10 seconds), but The fact is that some videos extract 301 frames and some videos extract 251 frames, resulting in extract_frame.shape being (1, 224, 224, 3) and imgs.shape (301, 224, 224, 3), how can I solve this?
The text was updated successfully, but these errors were encountered:
Use imageio to extract video in feature_extractor. In extract_frame.append(imgs[n]), a list index out of range error will appear. It stands to reason that 160 frames should be extracted from vid (16 frames per second, total 10 seconds), but The fact is that some videos extract 301 frames and some videos extract 251 frames, resulting in extract_frame.shape being (1, 224, 224, 3) and imgs.shape (301, 224, 224, 3), how can I solve this?
The text was updated successfully, but these errors were encountered: