DeepLabCut-live icon indicating copy to clipboard operation
DeepLabCut-live copied to clipboard

Unable to Successfully Run dlclive.benchmark_videos()

Open gld-2000 opened this issue 1 year ago • 0 comments

Hello everyone! I am attempting to determine the framerate at which my machine can process videos with deeplabcut live by calling the dlclive.benchmark_videos() function. I can successfully run this function on my personal computer, but when attempting to run it on the computer in our lab, I am met with the following error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\ProgramData\Anaconda3\envs\dlc-live\lib\site-packages\dlclive\benchmark.py", line 656, in benchmark_videos
    sys_info = get_system_info()
  File "C:\ProgramData\Anaconda3\envs\dlc-live\lib\site-packages\dlclive\benchmark.py", line 109, in get_system_info
    ["git", "rev-parse", "HEAD"], cwd=dlc_basedir
  File "C:\ProgramData\Anaconda3\envs\dlc-live\lib\subprocess.py", line 411, in check_output
    **kwargs).stdout
  File "C:\ProgramData\Anaconda3\envs\dlc-live\lib\subprocess.py", line 488, in run
    with Popen(*popenargs, **kwargs) as process:
  File "C:\ProgramData\Anaconda3\envs\dlc-live\lib\subprocess.py", line 800, in __init__
    restore_signals, start_new_session)
  File "C:\ProgramData\Anaconda3\envs\dlc-live\lib\subprocess.py", line 1207, in _execute_child
    startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified

This message appears immediately after the video is processed to 100% according to the progress bar displayed in the terminal. Both machines are running Windows 10 on similar hardware (Intel CPU, NVIDIA 10-series GPU), so I am unsure why one machine would produce an error where the other does not. Any ideas or suggestions would be greatly appreciated.

gld-2000 avatar Aug 18 '22 19:08 gld-2000