Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index error when running Pose2Sim.track2D() on Linux #3

Closed
lambdaloop opened this issue May 31, 2022 · 3 comments
Closed

Index error when running Pose2Sim.track2D() on Linux #3

lambdaloop opened this issue May 31, 2022 · 3 comments

Comments

@lambdaloop
Copy link

When running Pose2Sim.track2D() within the Demo directory, I get the following error:

    250 frames_range = config.get('project').get('frames_range')
    252 calib_dir = os.path.join(project_dir, calib_folder_name)
--> 253 calib_file = glob.glob(calib_dir+'\*.toml')[0]
    254 pose_dir = os.path.join(project_dir, pose_folder_name)
    255 poseTracked_dir = os.path.join(project_dir, poseTracked_folder_name)

IndexError: list index out of range

It seems that the +"*.toml" at that line should be replaced with os.path.join as in the neighboring lines.
This should be replaced for both track_2d_all and recap_tracking functions.

@lambdaloop
Copy link
Author

This is an issue within the triangulate_3d.py file as well.

@davidpagnon
Copy link
Owner

Thank you for pointing out this (stupid) mistake!

@davidpagnon
Copy link
Owner

Copied to new repository:
perfanalytics/pose2sim#7

@davidpagnon davidpagnon closed this as not planned Won't fix, can't repro, duplicate, stale Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants