Add .gitignore and installable module
This commit is contained in:
4
tests/test_encode.py
Normal file
4
tests/test_encode.py
Normal file
@ -0,0 +1,4 @@
|
||||
import clip
|
||||
import torch
|
||||
device = 'cpu'
|
||||
model, preprocess = clip.load("ViT-B/32", device=device)
|
Reference in New Issue
Block a user