Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nn interface #280

Merged
merged 16 commits into from Jan 23, 2020
Merged

Nn interface #280

merged 16 commits into from Jan 23, 2020

Conversation

ntabris
Copy link
Contributor

@ntabris ntabris commented Jan 23, 2020

  • io file format adaptors
  • tracking-only ui for sleap-track

All of the dataset formats (hdf5, json, coco, etc) are broken out
into separate format adaptor classes. Adaptors are registered
with a Dispatch object and then the Dispatch objects finds the
appropriate adaptor. The main entry points for most cases are
sleap.io.format.read and sleap.io.format.read.

Load/save in the Labels class are now wrappers for these functions.
Returns dummy frames if set; used when we don't need frame images
in the prediction pipeline.
If sleap-track is given labels file as data_path and tracking
policy but no models, then it will run the tracker on the
previously generated predictions. This is a better interface
than having to call sleap.nn.tracking to retrack.

Resolves issue #260.
@ntabris ntabris merged commit f1854b6 into develop Jan 23, 2020
@talmo talmo deleted the nn-interface branch December 4, 2020 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant