Spaces:
Running
Running
config
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ check_path = 'clip-dinoiser/checkpoints/last.pt'
|
|
28 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
29 |
|
30 |
check = torch.load(check_path, map_location=device)
|
31 |
-
dinoclip_cfg = "
|
32 |
cfg = compose(config_name=dinoclip_cfg)
|
33 |
|
34 |
model = build_model(cfg.model, class_names=PascalVOCDataset.CLASSES).to(device)
|
|
|
28 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
29 |
|
30 |
check = torch.load(check_path, map_location=device)
|
31 |
+
dinoclip_cfg = "clip_dinoiser.yaml"
|
32 |
cfg = compose(config_name=dinoclip_cfg)
|
33 |
|
34 |
model = build_model(cfg.model, class_names=PascalVOCDataset.CLASSES).to(device)
|