Page 1 of 1

Reprocessing Trials Error

Posted: Mon Jul 03, 2023 10:22 am
by jeffturner7
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

Re: Reprocessing Trials Error

Posted: Mon Jul 03, 2023 12:55 pm
by antoinefalisse
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)?

Re: Reprocessing Trials Error

Posted: Tue Jul 04, 2023 4:44 am
by jeffturner7
I believe I activated the environment in line with the instructions via the terminal. Then was running the script via Spyder.

Re: Reprocessing Trials Error

Posted: Thu Jul 06, 2023 9:51 am
by antoinefalisse
Are you using mac? I know the environment does not always get activated in Spyder if you are on mac

Re: Reprocessing Trials Error

Posted: Thu Jul 06, 2023 1:37 pm
by jeffturner7
This was on a Windows PC.

Re: Reprocessing Trials Error

Posted: Fri Jul 07, 2023 9:29 am
by antoinefalisse
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