Spaces:
Build error
Build error
=
commited on
Commit
·
7b67be2
1
Parent(s):
110ba75
adding checkpoint
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def get_model():
|
|
52 |
|
53 |
# recuperate the model
|
54 |
model = ViTForImageClassification.from_pretrained(
|
55 |
-
'data/checkpoints/model_2yW4AcqNIb6zLKNIb6zLK',
|
56 |
num_labels = len(characs['ids']),
|
57 |
id2label = {name: key for key, name in characs['ids'].items()},
|
58 |
label2id = characs['ids']
|
|
|
52 |
|
53 |
# recuperate the model
|
54 |
model = ViTForImageClassification.from_pretrained(
|
55 |
+
'data/checkpoints/model_2yW4AcqNIb6zLKNIb6zLK/checkpoint-1500',
|
56 |
num_labels = len(characs['ids']),
|
57 |
id2label = {name: key for key, name in characs['ids'].items()},
|
58 |
label2id = characs['ids']
|