I'm running into issues with running the pipeline locally for reprocessing trials, I've tried a number of trials and I still get the same errors. I believe I followed all the install and c:\ffmpeg\bins steps outlined at https://github.com/stanfordnmbl/opencap-core. Is there additional troubleshooting guidance or possibly a video walkthrough of the install? Thank you!
I get the following error:
Load extrinsics for Cam0 - already existing Load extrinsics for Cam1 - already existing Running OpenPose for Cam0 Dynamic trial failed. No such file or directory Downloading calibration for Cam0 Downloading calibration for Cam1 'ffmpeg' is not recognized as an internal or external command, operable program or batch file.
Trials to be reprocessed
f6d8e163-5402-465a-aced-66f929956d15
c5d9c88e-757e-495b-9051-706afd584ff3
c56e4984-1073-476b-962b-9836b4de9dd0
29151d25-0910-49c9-a4ed-2310187a0a35
Reprocessing Trials Error
- Antoine Falisse
- Posts: 438
- Joined: Wed Jan 07, 2015 2:21 am
Re: Reprocessing Trials Error
Hey, it seems like it does not find ffmpeg. Did you activate your environment before running the script? Are you running the script from a terminal window or from an IDE (like Spyder or Visual Studio Code)?
- Jeffrey Turner
- Posts: 10
- Joined: Wed Feb 08, 2023 6:59 am
Re: Reprocessing Trials Error
I believe I activated the environment in line with the instructions via the terminal. Then was running the script via Spyder.
- Antoine Falisse
- Posts: 438
- Joined: Wed Jan 07, 2015 2:21 am
Re: Reprocessing Trials Error
Are you using mac? I know the environment does not always get activated in Spyder if you are on mac
- Jeffrey Turner
- Posts: 10
- Joined: Wed Feb 08, 2023 6:59 am
Re: Reprocessing Trials Error
This was on a Windows PC.
- Antoine Falisse
- Posts: 438
- Joined: Wed Jan 07, 2015 2:21 am
Re: Reprocessing Trials Error
Okay, two tests to do:
1. Could you run reprocessSession.py from the terminal instead of from Spyder? To do so, launch an anaconda prompt, activate your environment (conda activate ...), and then run the code (python reprocessSession.py). If you are still running into bugs then 2.
2. Could you check if ffmpeg is in your environment? To do so, launch an anaconda prompt, activate your environment (conda activate ...), and then run conda list. You should get a list with all the packages. Do you see ffmpeg there?
Here is a video that shows how to do that: https://drive.google.com/file/d/1bBoR0d ... sp=sharing
Keep me posted,
Antoine
1. Could you run reprocessSession.py from the terminal instead of from Spyder? To do so, launch an anaconda prompt, activate your environment (conda activate ...), and then run the code (python reprocessSession.py). If you are still running into bugs then 2.
2. Could you check if ffmpeg is in your environment? To do so, launch an anaconda prompt, activate your environment (conda activate ...), and then run conda list. You should get a list with all the packages. Do you see ffmpeg there?
Here is a video that shows how to do that: https://drive.google.com/file/d/1bBoR0d ... sp=sharing
Keep me posted,
Antoine