# Access token은 huggingface.co > Settings > Access Tokens 에서 생성
HUGGINGFACE_TOKEN = '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'

MODEL_DEVICE_CPU = 'cpu'
MODEL_DEVICE_GPU = 'cuda'

DEFAULT_INDEX_NAME_SUFFIX = 'index.faiss'
DEFAULT_SAVE_INDEX_SUFFIX = DEFAULT_INDEX_NAME_SUFFIX

INDEX_TYPE_L2 = 'l2'
INDEX_TYPE_COSINE = 'cosine'

#VIT MODELS
ViTB32 = "clip-vit-base-patch32"
ViTB16 = "clip-vit-base-patch16"
ViTL14 = "clip-vit-large-patch14"
ViTL14_336 = "clip-vit-large-patch14-336"

#download/save path
PRETRAINED_MODEL_PATH = "./datas"
FAISS_VECTOR_PATH = "./datas"
VECTOR_IMG_LIST_PATH = "./datas"

INDEX_IMAGES_PATH = "./datas/eyewear_all"


# report image consts
class ReportInfoConst:
    feature_extraction_model = "Feature Extraction Model"
    model_architecture = "Model Architecture"
    train_model = "Train Model"
    feature_extraction_time = "Feature Extraction Time"
    
    similarity_type = "Similarity Type"
    query = "Query"
    result = "Result"
    
    class similarity:
        l2 = "L2(Euclidean Distance)"
        cosine = "Cosine(Inner Product, L2)"