templates.ImageModelBasedTemplateSchema
- class templates.ImageModelBasedTemplateSchema(*args, **kwargs)
Model Based template
- Parameters:
model_name (str) – Model name
model_label (str) – Model label
dirpath (str) – The path to the stored model in minio.
label_map (Dict[str, int]) – The label map for the Node that this LF is being applied to
operator (str) – Operator
min_similarity (float, default 0) – Minimum similarity for model decision function.