noelshin commited on
Commit
200320e
·
1 Parent(s): b3dac8e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
18
  state_dict: dict = torch.hub.load_state_dict_from_url(
19
  "https://www.robots.ox.ac.uk/~vgg/research/selfmask/shared_files/selfmask_nq20.pt",
20
  map_location=device # "cuda" if torch.cuda.is_available() else "cpu"
21
- )["model"]
22
 
23
  parser = ArgumentParser("SelfMask demo")
24
  parser.add_argument(
 
18
  state_dict: dict = torch.hub.load_state_dict_from_url(
19
  "https://www.robots.ox.ac.uk/~vgg/research/selfmask/shared_files/selfmask_nq20.pt",
20
  map_location=device # "cuda" if torch.cuda.is_available() else "cpu"
21
+ )
22
 
23
  parser = ArgumentParser("SelfMask demo")
24
  parser.add_argument(