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

Kalman filter requires target instance count, but cannot set from GUI #1583

Closed
roomrys opened this issue Nov 2, 2023 Discussed in #1581 · 0 comments
Closed

Kalman filter requires target instance count, but cannot set from GUI #1583

roomrys opened this issue Nov 2, 2023 Discussed in #1581 · 0 comments
Labels
bug Something isn't working

Comments

@roomrys
Copy link
Collaborator

roomrys commented Nov 2, 2023

Discussed in #1581

Originally posted by Toach-2021 November 1, 2023
Hello,

I have a very naive question, but how can I use Kalman filter for running inference with GUI?

When I run, I always get the error "Kalman filter requires target instance count".
I already prepared some predicted frames in the video.
I would appreciate any advice.

Thank you in advance.


Originally posted by Toach-2021 November 2, 2023

I would like to try the Kalman filter to smooth out the tracking because inevitably some individuals would not be detected or their locations would be blurred...

About Target Instance Count, I'm sorry but I could not find that option...
Maybe I missed but I would appreciate if you could tell me how to set it.

スクリーンショット 2023-11-02 141809

Best,


Originally posted by roomrys November 2, 2023

Apologies, I was writing from memory, but we recently made some changes to these parameters. There used to be a "Cull to Target Instance Count" parameter and "Target Number of Instances Per Frame" parameter that has now been replaced (in desired functionality) with "Max number of tracks" in #1447 - basically removing instances over a set limit earlier on in the tracking.

Although it looks like the variable names for these three parameters are different and although they have been removed from the GUI, the variables have not been refactored to reflect the preference for "Max number of Tracks".

# - type: text
# text: '<b>Pre-tracker data cleaning</b>:'
# - name: tracking.target_instance_count
# label: Target Number of Instances Per Frame
# type: optional_int
# none_label: No target
# default_disabled: true
# range: 1,100
# default: 1
# - name: tracking.pre_cull_to_target
# label: Cull to Target Instance Count
# type: bool
# default: false
# - name: tracking.pre_cull_iou_threshold
# label: Cull using IoU Threshold
# type: double
# default: 0.8

So, this is a GUI bug. However! Since there hasn't been changes to the variable names, using sleap-track through the CLI will work as intended.

Sorry about that,
Liezl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants