Skip to content

Write a guide for API-based inference #69

@talmo

Description

@talmo

The run script/CLI is helpful when using this exclusively, but we'll want to be able to integrate it into other stuff.

For example, in SLEAP/sleap-nn, we'll already have loaded the images and maybe will be generating poses batch-by-batch, so using DREEM's inference data loader doesn't make as much sense.

The goal is to show a recipe where we can use DREEM models for inference from other packages (e.g., SLEAP, sleap-nn) in their own workflows and execution context.

We want to write something like this: https://sleap.ai/notebooks/Interactive_and_realtime_inference.html

Note the progressive exposure of complexity, going from high to low level, where on the highest level, we get back numpy arrays and on lowest level we're getting tensors back still on the GPU before any further postprocessing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions