Duplicated from AnnasBlackHat/Image-Similarity
cf69c91 319e2a1
1
2
3
4
5
6
7
8
9
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'