mahir1010/OptiPose

KeyError while running model_train_r3d

Opened this issue · 1 comments

Hello,

I git cloned the package and installed it with the toml file via pip install -e .
I downloaded the data from the google drive link.
While running python model_train_r3d.py,
I got the following error:

Traceback (most recent call last):
  File "/home/frose1/OptiPose/examples/model_train_r3d.py", line 17, in <module>
    R3D_config = PoseEstimationConfig('./example_configs/Rodent3D.yml')
  File "/projects/ag-bozek/france/miniconda/envs/OPTIPOSE/lib/python3.10/site-packages/cvkit/pose_estimat
ion/config.py", line 64, in __init__
    self.threshold = float(self.data_dictionary['Reconstruction'].get('threshold', DEFAULT_THRESHOLD))
KeyError: 'Reconstruction'

Thank you in advance for your help.

Ah, sorry about that. I added a lot of stuff to the CVKit library, so this code may be incompatible now. I will update this repo as soon as possible.