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'm having trouble with the --time_sample argument. I'm probably doing something wrong... See the commands below. See my email if you want to test on the exact same video.
--time_sample=5
Expected: process only one frame every 5 seconds Result: processes all 385 frames
I started diving into process_video.py and video_utils.py, but figured that it is probably something stupid on my side... So I thought I'd ask you if you see something wrong with my commands?
The text was updated successfully, but these errors were encountered:
Thanks for reporting this, and for providing such a complete description. It turns out it was an esoteric bug that only manifested when --keep_extracted_frames was set. Oops! Fixed now, will follow up by email to see whether you also need me to update the Python package. Let me know when you are able to verify, but I will close the issue, because I'm 98% sure it's fixed.
I'm having trouble with the
--time_sample
argument. I'm probably doing something wrong... See the commands below. See my email if you want to test on the exact same video.--time_sample=5
Expected: process only one frame every 5 seconds
Result: processes all 385 frames
--time_sample=0.5
Expected: process only one frame every 0.5 seconds
Result: processes all 385 frames
--frame_sample=150
Expected: process one frame every 150 frames
Result: processes 3 frames (0, 150, 300) as expected
I started diving into
process_video.py
andvideo_utils.py
, but figured that it is probably something stupid on my side... So I thought I'd ask you if you see something wrong with my commands?The text was updated successfully, but these errors were encountered: