Exporting a centroid-only model? #1541
jkbhagatio
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I believe that currently there is no way to export a centroid-only model via the SLEAP API or CLI. E.g., trying to using
sleap-export
yields the following error:There are cases where we find it useful to have a centroid-only model, and @bruno-f-cruz has this workaround for using keras directly to perform this export: https://github.com/bruno-f-cruz/Sleap_export-Bonsai/blob/main/sleap_scripts/export_networks.ipynb (see the cell that begins with the comment "Export a centroid model")
It would be nice to have the ability to do this directly via
sleap-export
. Is there a reason this isn't supported? If not, maybe this Discussion can be converted into an Issue?Beta Was this translation helpful? Give feedback.
All reactions