Update openclip/generate-embeddings-open.py
Browse files
openclip/generate-embeddings-open.py
CHANGED
@@ -91,7 +91,7 @@ for word in tokendict:
|
|
91 |
|
92 |
embs = torch.cat(all_embeddings,dim=0)
|
93 |
print("Shape of result = ",embs.shape)
|
94 |
-
print("Saving
|
95 |
save_file({"embeddings": embs}, outfile)
|
96 |
|
97 |
|
|
|
91 |
|
92 |
embs = torch.cat(all_embeddings,dim=0)
|
93 |
print("Shape of result = ",embs.shape)
|
94 |
+
print("Saving to ",outfile)
|
95 |
save_file({"embeddings": embs}, outfile)
|
96 |
|
97 |
|