Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundError is raised when running demo.py #38

Open
Freeman449s opened this issue Feb 6, 2023 · 0 comments
Open

FileNotFoundError is raised when running demo.py #38

Freeman449s opened this issue Feb 6, 2023 · 0 comments

Comments

@Freeman449s
Copy link

Hi, I ran into this issue when I was trying to run demo.py on Windows platform. Here is the log:

Traceback (most recent call last):
    File "D:\工程文件\Python\PARE\scripts\demo.py", line 242, in <module>
    main(args)
  File "D:\工程文件\Python\PARE\scripts\demo.py", line 69, in main
    input_image_folder, num_frames, img_shape = video_to_images(
  File "D:\工程文件\Python\PARE\pare\utils\demo_utils.py", line 195, in video_to_images
    subprocess.call(command)
  File "C:\Users\Freeman\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 340, in call
    with Popen(*popenargs, **kwargs) as p:
  File "C:\Users\Freeman\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\Freeman\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 1307, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件。

The Chinese sentence means "System cannot find the specified file". It seems this error occurred when the process was trying to launch a subprocess to convert the video to images, but I can't figure out exactly which file is missing nor do I understand why such an error would occur. Is there anyone who ran into a similar problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant