mlvision

package
v0.10.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2023 License: AGPL-3.0 Imports: 27 Imported by: 0

Documentation

Overview

Package mlvision uses an underlying model from the ML model service as a vision model, and wraps the ML model with the vision service methods.

Index

Constants

View Source
const (
	// UInt8 is one of the possible input/output types for tensors.
	UInt8 = "uint8"
	// Float32 is one of the possible input/output types for tensors.
	Float32 = "float32"
	// DefaultOutTensorName is the prefix key given to output tensors in the map
	// if there is no metadata. (output0, output1, etc.)
	DefaultOutTensorName = "output"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MLModelConfig

type MLModelConfig struct {
	ModelName string `json:"mlmodel_name"`
}

MLModelConfig specifies the parameters needed to turn an ML model into a vision Model.

func (*MLModelConfig) Validate added in v0.8.0

func (conf *MLModelConfig) Validate(path string) ([]string, error)

Validate will add the ModelName as an implicit dependency to the robot.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL