Fix minimalnumberofconnections by segashin · Pull Request #2718 · DeepLabCut/DeepLabCut

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.