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

Start Parameter Extraction Errors #43

Open
KaryneRabey opened this issue May 15, 2024 · 1 comment
Open

Start Parameter Extraction Errors #43

KaryneRabey opened this issue May 15, 2024 · 1 comment

Comments

@KaryneRabey
Copy link

We are getting errors when doing kinematic analysis using the spontaneous walking setup.

When we analyze a mouse walking right, we get this error:
OCN177_R1_DLC_resnet50_MouseModelFeb3shuffle7_1000000.csv
Alma error right

When we analyze a mouse walking left, we get this error:
OCN177_L1_DLC_resnet50_MouseModelFeb3shuffle7_1000000.csv
Alma error left

What is going wrong here could you please help us, thanks!

@sollan
Copy link
Owner

sollan commented May 19, 2024

Hi,

It looks like there's something wrong with the step cycle detection (only one step cycle in leftwards walk, no step cycle in rightwards walk; whereas in the data I think there should be 4~5 steps). This is most likely a result from your configurations in config.yaml, in particular the "pixels_per_cm" parameter (i.e., 1 pixel / frame = x cm / s). But it might also be caused by setting a different frame rate in config.yaml as the one used for recording.

Have you tried setting no_outlier_filter: True and dragging_filter: False in config.yaml? If there's an issue with the "pixels_per_cm" calculation, these settings should help you debug the issue by disabling the outlier filters (which discard step cycles that are unlikely to happen in reality, such as steps with an extra long stride length.) But eventually, "pixels_per_cm" needs to be correct to obtain meaningful results.

Best,
Annette

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