Spaces:
Build error
Build error
update
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ checkpoint_file = hf_hub_download(repo_id="Andy1621/uniformer", filename="mask_r
|
|
16 |
config_file = './exp/mask_rcnn_3x_ms_hybrid_small/config.py'
|
17 |
# init detector
|
18 |
# build the model from a config file and a checkpoint file
|
19 |
-
model = init_detector(config_file, checkpoint_file, device='
|
20 |
|
21 |
|
22 |
def set_example_image(example: list) -> dict:
|
|
|
16 |
config_file = './exp/mask_rcnn_3x_ms_hybrid_small/config.py'
|
17 |
# init detector
|
18 |
# build the model from a config file and a checkpoint file
|
19 |
+
model = init_detector(config_file, checkpoint_file, device='cpu')
|
20 |
|
21 |
|
22 |
def set_example_image(example: list) -> dict:
|