MVV commited on
Commit
1c463a6
·
1 Parent(s): 6ad768b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ import trimesh as tm
10
  from models.model import Model
11
 
12
  model = Model()
13
- ckpg = th.load("./checkpoints/epoch=99-step=6000.ckpt")
14
  model.load_state_dict(ckpg["state_dict"])
15
 
16
 
 
10
  from models.model import Model
11
 
12
  model = Model()
13
+ ckpg = th.load("./checkpoints/epoch=99-step=6000.ckpt", map_location=th.device("cpu"))
14
  model.load_state_dict(ckpg["state_dict"])
15
 
16