Upload folder using huggingface_hub
Browse files
README.md
CHANGED
@@ -72,7 +72,7 @@ image = Image.open(path)
|
|
72 |
# Extract UNI embedding from the image
|
73 |
uni_inp = transform(image).unsqueeze(dim=0)
|
74 |
with torch.inference_mode():
|
75 |
-
uni_emb = uni_model(uni_inp.to(device))
|
76 |
|
77 |
print("Extracted UNI:", uni_emb.shape)
|
78 |
|
|
|
72 |
# Extract UNI embedding from the image
|
73 |
uni_inp = transform(image).unsqueeze(dim=0)
|
74 |
with torch.inference_mode():
|
75 |
+
uni_emb = uni_model(uni_inp.to(device))
|
76 |
|
77 |
print("Extracted UNI:", uni_emb.shape)
|
78 |
|