Alesteba commited on
Commit
df5a255
·
1 Parent(s): 865fc80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ model_2 = model_type.model(
23
  # from huggingface_hub import hf_hub_download
24
  # hf_hub_download(repo_id="Alesteba/deep_model_02", filename="retinanet_racoon.pth")
25
 
26
- state_dict = torch.load('./mmdet_racoon.pth', map_location=torch.device('cpu'))
27
 
28
  model_2.load_state_dict(state_dict)
29
 
 
23
  # from huggingface_hub import hf_hub_download
24
  # hf_hub_download(repo_id="Alesteba/deep_model_02", filename="retinanet_racoon.pth")
25
 
26
+ state_dict = torch.load('./retinanet_racoon.pth', map_location=torch.device('cpu'))
27
 
28
  model_2.load_state_dict(state_dict)
29