class documentation

class ModelType(str, Enum):

Constructor: ModelType.from_suffix(suffix)

View In Hierarchy

Artifact type stored by a HubAI model instance.

Class Method from_suffix Infer a model type from a file suffix.
Constant HAILO Undocumented
Constant IR Undocumented
Constant ONNX Undocumented
Constant PYTORCH Undocumented
Constant RVC2 Undocumented
Constant RVC3 Undocumented
Constant RVC4 Undocumented
Constant TFLITE Undocumented
@classmethod
def from_suffix(cls, suffix: str) -> ModelType:

Infer a model type from a file suffix.

HAILO: str =

Undocumented

Value
'HAILO'
IR: str =

Undocumented

Value
'IR'
ONNX: str =

Undocumented

Value
'ONNX'
PYTORCH: str =

Undocumented

Value
'PYTORCH'
RVC2: str =

Undocumented

Value
'RVC2'
RVC3: str =

Undocumented

Value
'RVC3'
RVC4: str =

Undocumented

Value
'RVC4'
TFLITE: str =

Undocumented

Value
'TFLITE'