SakuraD commited on
Commit
6efffe7
1 Parent(s): 8a697b3
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ from huggingface_hub import hf_hub_download
14
  # Set to cuda to load on GPU
15
  device = "cpu"
16
  checkpoint_file = hf_hub_download(repo_id="Andy1621/uniformer", filename="upernet_global_small.pth")
17
- config_file = './exp/upernet_global_small/test_config_h32.py'
18
  # init detector
19
  # build the model from a config file and a checkpoint file
20
  model = init_segmentor(config_file, checkpoint_file, device='cpu')
 
14
  # Set to cuda to load on GPU
15
  device = "cpu"
16
  checkpoint_file = hf_hub_download(repo_id="Andy1621/uniformer", filename="upernet_global_small.pth")
17
+ config_file = './exp/upernet_global_small/config.py'
18
  # init detector
19
  # build the model from a config file and a checkpoint file
20
  model = init_segmentor(config_file, checkpoint_file, device='cpu')