Image-Similarity / src /model /simlarity_model.py
Annas Dev
finish vit
319e2a1
raw
history blame contribute delete
228 Bytes
from dataclasses import dataclass
from .similarity_interface import SimilarityInterface
@dataclass
class SimilarityModel:
name: str
image_size: int
model_cls: SimilarityInterface
image_input_type: str = 'array'