Skip to content

Centroid only inference ? #2018

Discussion options

You must be logged in to vote

Though I am not a developer for this repository, I am working with sleap alot in python at the moment and I have also tried to create a centroid-only model.

Training a centroid model alone is possible (I think also actually the only way you can train it).

When loading a model though you can't sleap.load_model() a centroid without an additional centered_instance model. It will throw you an error (that I can't check right now).

What you could do is

  1. train a little dummy centered instance model that doesn't take much space and you would probably not even need to train it much (maybe only 1 epoch),
  2. load the centroid model you care about with the dummy centered instance model
  3. run inference and…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@olivier-cuttlefish
Comment options

@talmo
Comment options

talmo Dec 6, 2024
Maintainer

Answer selected by talmo
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