Spaces:
Sleeping
Sleeping
load model in cpu first
Browse files- utils/load_model.py +0 -1
utils/load_model.py
CHANGED
@@ -13,7 +13,6 @@ from transformers import OwlViTProcessor, OwlViTForObjectDetection
|
|
13 |
|
14 |
from .model import OwlViTForClassification
|
15 |
|
16 |
-
@gpu_decorator
|
17 |
def load_xclip(device: str = "cuda:0",
|
18 |
n_classes: int = 183,
|
19 |
use_teacher_logits: bool = False,
|
|
|
13 |
|
14 |
from .model import OwlViTForClassification
|
15 |
|
|
|
16 |
def load_xclip(device: str = "cuda:0",
|
17 |
n_classes: int = 183,
|
18 |
use_teacher_logits: bool = False,
|