Spaces:
Sleeping
Sleeping
fiber
Browse files
app.py
CHANGED
@@ -65,6 +65,7 @@ glip_demo = GLIPDemo(
|
|
65 |
|
66 |
config_file = "configs/pretrain_new/desco_fiber.yaml"
|
67 |
weight_file = "MODEL/desco_fiber_base.pth"
|
|
|
68 |
cfg.merge_from_list(["MODEL.WEIGHT", weight_file])
|
69 |
cfg.merge_from_list(["MODEL.DEVICE", "cuda"])
|
70 |
fiber_demo = GLIPDemo(
|
|
|
65 |
|
66 |
config_file = "configs/pretrain_new/desco_fiber.yaml"
|
67 |
weight_file = "MODEL/desco_fiber_base.pth"
|
68 |
+
cfg.merge_from_file(config_file)
|
69 |
cfg.merge_from_list(["MODEL.WEIGHT", weight_file])
|
70 |
cfg.merge_from_list(["MODEL.DEVICE", "cuda"])
|
71 |
fiber_demo = GLIPDemo(
|