3D-ResNets-PyTorch
3D-ResNets-PyTorch copied to clipboard
Running on Windows, convert avi to jpg. FileNotFoundError: [WinError 2] The system cannot find the specified file.
(py36) E:\opt\workspace\3D-ResNets-PyTorch-master\util_scripts>python -m generate_video_jpgs \opt\workspace\3D-ResNets-PyTorch-master\data\UCF-101 \opt\workspace\3D-ResNets-PyTorch-master\data\UCF-jpg ucf101
Traceback (most recent call last):
File "generate_video_jpgs.py", line 117, in
My structure of data directories is the following:
E:\opt\workspace\3D-ResNets-PyTorch-master\ util_scripts\ ……generate_video_jpgs.py data\ ……UCF_jpg ……UCF-101
I had a few problems with videos in the ActivityNet dataset that could not be downloaded, i.e. it was unavailable on Youtube. I had to check if the file exists before running the subprocess. Before this line.
#File "generate_video_jpgs.py", line 19, in video_process
p = subprocess.run(ffprobe_cmd, stdout=PIPE, stderr=PIPE)
I had the same problem, does anyone solve it?
OH, Mine is working right now
-
change it to ===> p = subprocess.run(ffprobe_cmd,stdout= subprocess.PIPE,shell=True)
-
Do you install the ffmpeg? I forgot to install the ffmpeg and add it to variable path When I finish this now My command is working
OH, Mine is working right now
- change it to ===> p = subprocess.run(ffprobe_cmd,stdout= subprocess.PIPE,shell=True)
- Do you install the ffmpeg? I forgot to install the ffmpeg and add it to variable path When I finish this now My command is working @TonyLi-Shu hello,Did you download it under Windows?