Upload graph-byclip.py
Browse files- graph-byclip.py +1 -1
graph-byclip.py
CHANGED
@@ -28,7 +28,7 @@ CLIPname= "ViT-B/16"
|
|
28 |
#CLIPname= "ViT-L/14@336px"
|
29 |
|
30 |
device=torch.device("cuda")
|
31 |
-
print("loading CLIP model")
|
32 |
model, processor = clip.load(CLIPname,device=device)
|
33 |
model.cuda().eval()
|
34 |
print("done")
|
|
|
28 |
#CLIPname= "ViT-L/14@336px"
|
29 |
|
30 |
device=torch.device("cuda")
|
31 |
+
print("loading CLIP model",CLIPname)
|
32 |
model, processor = clip.load(CLIPname,device=device)
|
33 |
model.cuda().eval()
|
34 |
print("done")
|