SakuraD commited on
Commit
286ae46
1 Parent(s): 93f3a7b
Files changed (1) hide show
  1. app.py +1 -1
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='cuda:0')
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: