View Source ExVision.SemanticSegmentation.DeepLabV3_MobileNetV3 (Ex Vision v0.4.0)
A semantic segmentation model for MobileNetV3 Backbone. Exported from torchvision.
Summary
Types
Type describing all categories recognised by DeepLabV3 MobileNetV3
An instance of the Elixir.ExVision.SemanticSegmentation.DeepLabV3_MobileNetV3
Functions
Submits the input for inference to the process running the Nx.Serving for this model.
Returns a list of all categories recognised by DeepLabV3 MobileNetV3
Creates the model instance
Same as load/1
, but raises and error on failure.
Immediatelly applies the model to the given input, in the scope of the current process.
Types
@type category_t() ::
:__background__
| :aeroplane
| :bicycle
| :bird
| :boat
| :bottle
| :bus
| :car
| :cat
| :chair
| :cow
| :diningtable
| :dog
| :horse
| :motorbike
| :person
| :pottedplant
| :sheep
| :sofa
| :train
| :tvmonitor
Type describing all categories recognised by DeepLabV3 MobileNetV3
@type output_t() :: %{required(category_t()) => Nx.Tensor.t()}
@opaque t()
An instance of the Elixir.ExVision.SemanticSegmentation.DeepLabV3_MobileNetV3
Functions
@spec batched_run(atom(), ExVision.Model.input_t()) :: output_t() | [output_t()]
Submits the input for inference to the process running the Nx.Serving for this model.
@spec categories() :: [category_t()]
Returns a list of all categories recognised by DeepLabV3 MobileNetV3
@spec load([ExVision.Model.Definition.Ortex.load_option_t()]) :: {:ok, t()} | {:error, reason :: atom()}
Creates the model instance
Same as load/1
, but raises and error on failure.
@spec run(t(), ExVision.Model.input_t()) :: output_t() | [output_t()]
Immediatelly applies the model to the given input, in the scope of the current process.