Skip to content

Conversation

@segashin
Copy link
Contributor

I've noticed that convert_detections_to_tracklets always uses the default value for min_n_links. Based on the comment on inference_cfg.yaml sample, the value at minimalnumberofconnctions should be used instead.

#least number of connections (to actually form an animal)
minimalnumberofconnections: willbeautomaticallyupdatedbycreate_training_datasetcode

This pull request makes the following change.

  • Read minimalnumberofconnections from inference_cfg.yaml and use it as min_n_links when creating the Assembler.

@MMathisLab MMathisLab requested a review from AlexEMG August 26, 2024 09:48
@MMathisLab MMathisLab requested a review from n-poulsen September 5, 2024 15:48
Copy link
Contributor

@n-poulsen n-poulsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for the fix, @segashin!

@MMathisLab MMathisLab merged commit a9c613f into DeepLabCut:main Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants