Skip to content
Discussion options

You must be logged in to vote

Hey @Toach-2021 !

Thanks for filing this bug-- --max_instances and --peak_threshold were being silently ignored for centroid-only and top-down models due to CentroidLayer reading a frozen build-time value instead of the predict-time override set by --max_instances (the same bug was fixed for bottom-up models earlier in talmolab/sleap-nn#582, but the centroid layer was missed).

This has been addressed in talmolab/sleap-nn#709. The fix is on main but not in a release yet (we're planning a new sleap-nn release soon!). Since you're using a conda environment, you can install from main with:

conda activate sleap-nn
pip install --force-reinstall git+https://github.com/talmolab/sleap-nn.git@main

o…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Toach-2021
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Toach-2021
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help!
Labels
None yet
3 participants