nikkar commited on
Commit
92d0a19
·
verified ·
1 Parent(s): d0b3c0b

Update predictor.py

Browse files
Files changed (1) hide show
  1. predictor.py +1 -1
predictor.py CHANGED
@@ -90,7 +90,7 @@ class CoTrackerOnlinePredictor(torch.nn.Module):
90
  state_dict = torch.load(f, map_location="cpu")
91
  if "model" in state_dict:
92
  state_dict = state_dict["model"]
93
- model.model.load_state_dict(state_dict)
94
  print('LOAD STATE DICT')
95
 
96
 
 
90
  state_dict = torch.load(f, map_location="cpu")
91
  if "model" in state_dict:
92
  state_dict = state_dict["model"]
93
+ model.load_state_dict(state_dict)
94
  print('LOAD STATE DICT')
95
 
96