Update README.md
Browse files
README.md
CHANGED
@@ -74,12 +74,12 @@ wrap_model(model.vision_model, thresh=0.1)
|
|
74 |
vwt = model.vision_model.embeddings
|
75 |
|
76 |
# downloading the visual word vocabulary
|
77 |
-
snapshot_download(repo_id='LeonidasY/inter-image-imgnet-100', local_dir='
|
78 |
-
# snapshot_download(repo_id='LeonidasY/inter-image-imgnet-1000', local_dir='
|
79 |
-
# snapshot_download(repo_id='LeonidasY/inter-image-imgnet-10000', local_dir='
|
80 |
|
81 |
# loading the visual word vocabulary
|
82 |
-
vwt.load_words('
|
83 |
|
84 |
# deploy the model for inference on your downstream task...
|
85 |
|
|
|
74 |
vwt = model.vision_model.embeddings
|
75 |
|
76 |
# downloading the visual word vocabulary
|
77 |
+
snapshot_download(repo_id='LeonidasY/inter-image-imgnet-100', local_dir='tokenizer')
|
78 |
+
# snapshot_download(repo_id='LeonidasY/inter-image-imgnet-1000', local_dir='tokenizer')
|
79 |
+
# snapshot_download(repo_id='LeonidasY/inter-image-imgnet-10000', local_dir='tokenizer')
|
80 |
|
81 |
# loading the visual word vocabulary
|
82 |
+
vwt.load_words('tokenizer/vocab.pt')
|
83 |
|
84 |
# deploy the model for inference on your downstream task...
|
85 |
|