reproduce the paper's results
Posted: Tue Nov 05, 2024 4:46 pm
Hello,
I am trying to reproduce the paper's results using videos(LabValidation_withVideos) provided on the OpenCap website.
All the programs worked perfectly except for the labValidationVideosToKinematics.py. The error message shows that "Exception: ('All cameras are required for calibration and neutral pose.', 'All cameras are required for calibration and neutral pose.')" while I only change one line of the code since I am using jupyter notebook which should not affect the program.
Original Code:
55 repoDir = os.path.abspath(
56 os.path.join(os.path.dirname(os.path.abspath(__file__)),'../'))
My replacement:
repoDir = os.path.abspath(os.path.join(os.getcwd(), '../'))
May I know why is it happening or what should I do to fix this problem?
Thank you so much!
Best,
Jonathan Cheng
I am trying to reproduce the paper's results using videos(LabValidation_withVideos) provided on the OpenCap website.
All the programs worked perfectly except for the labValidationVideosToKinematics.py. The error message shows that "Exception: ('All cameras are required for calibration and neutral pose.', 'All cameras are required for calibration and neutral pose.')" while I only change one line of the code since I am using jupyter notebook which should not affect the program.
Original Code:
55 repoDir = os.path.abspath(
56 os.path.join(os.path.dirname(os.path.abspath(__file__)),'../'))
My replacement:
repoDir = os.path.abspath(os.path.join(os.getcwd(), '../'))
May I know why is it happening or what should I do to fix this problem?
Thank you so much!
Best,
Jonathan Cheng