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

Bug ValueError: not enough values to unpack (expected 4, got 3) #164

Open
RyougiChan opened this issue Jun 3, 2024 · 2 comments
Open

Bug ValueError: not enough values to unpack (expected 4, got 3) #164

RyougiChan opened this issue Jun 3, 2024 · 2 comments

Comments

@RyougiChan
Copy link

RyougiChan commented Jun 3, 2024

We got this error when synchronizing keypoints, which invoked by the code below(in utilsChecker.py):

# Synchronize keypoints.
pointList, confList, nansInOutList,startEndFrameList = synchronizeVideoKeypoints(
    pointList, confList, confidenceThreshold=confidenceThreshold,
    filtFreqs=filtFreqs, sampleFreq=frameRate, visualize=False,
    maxShiftSteps=2*frameRate, CameraParams=CamParamList_selectedCams,
    cameras2Use=cameras2Use, 
    CameraDirectories=CameraDirectories_selectedCams, trialName=trialName)

We have found that in the function synchronizeVideoKeypoints, if the condition if not np.any(overlapInds_clean)(line 1015) is met, only 3 values are returned.

@antoinefalisse
Copy link
Collaborator

Thanks for reporting. Can you provide a session ID and trial name. We will try to reproduce and fix. THanks.

@RyougiChan
Copy link
Author

Thanks for reporting. Can you provide a session ID and trial name. We will try to reproduce and fix. THanks.
Of course, the session ID and trial name has been sent to your email [email protected].

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