LTT commited on
Commit
ae432b8
1 Parent(s): 9fd12f3
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -283,9 +283,9 @@ state_dict = torch.load(model_ckpt_path, map_location='cpu')['state_dict']
283
  state_dict = {k[14:]: v for k, v in state_dict.items() if k.startswith('lrm_generator.')}
284
  model.load_state_dict(state_dict, strict=True)
285
 
286
- model = model.to(device1)
287
  if IS_FLEXICUBES:
288
- model.init_flexicubes_geometry(device1, fovy=30.0)
289
  model = model.eval()
290
 
291
  print('Loading Finished!')
 
283
  state_dict = {k[14:]: v for k, v in state_dict.items() if k.startswith('lrm_generator.')}
284
  model.load_state_dict(state_dict, strict=True)
285
 
286
+ model = model.to(device)
287
  if IS_FLEXICUBES:
288
+ model.init_flexicubes_geometry(device, fovy=30.0)
289
  model = model.eval()
290
 
291
  print('Loading Finished!')