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 am trying to inference against a test video /test_1.mp4 and I am getting the following error any idea I am running on Windows, Anaconda, Python 3.6, Pytorch 0.3.0 etc. The test_model.py works but not video.
(momentsintime) C:\Users\Pablo\moments_models>python test_video.py --video_file /test_1.mp4
Extracting frames using ffmpeg...
Traceback (most recent call last):
File "test_video.py", line 120, in
frames = extract_frames(args.video_file, args.num_segments)
File "test_video.py", line 50, in extract_frames
duration = re_duration.search(str(output[1])).groups()[0]
AttributeError: 'NoneType' object has no attribute 'groups'
The text was updated successfully, but these errors were encountered:
Extracting frames using ffmpeg...
Traceback (most recent call last):
File "C:\Users\tufan001\OneDrive - Wageningen University & Research\PycharmProjects\TimeSeries\keypoints_paper\analysis\Pretrained_models\Moments\moments_models\test_video.py", line 62, in
frames = extract_frames(args.video_file, args.num_segments)
File "C:\Users\tufan001\OneDrive - Wageningen University & Research\PycharmProjects\TimeSeries\keypoints_paper\analysis\Pretrained_models\Moments\moments_models\utils.py", line 22, in extract_frames
duration = re_duration.search(str(output[1])).groups()[0]
AttributeError: 'NoneType' object has no attribute 'groups'
Hi,
I am trying to inference against a test video /test_1.mp4 and I am getting the following error any idea I am running on Windows, Anaconda, Python 3.6, Pytorch 0.3.0 etc. The test_model.py works but not video.
(momentsintime) C:\Users\Pablo\moments_models>python test_video.py --video_file /test_1.mp4
Extracting frames using ffmpeg...
Traceback (most recent call last):
File "test_video.py", line 120, in
frames = extract_frames(args.video_file, args.num_segments)
File "test_video.py", line 50, in extract_frames
duration = re_duration.search(str(output[1])).groups()[0]
AttributeError: 'NoneType' object has no attribute 'groups'
The text was updated successfully, but these errors were encountered: