eliphatfs commited on
Commit
99bebdc
·
1 Parent(s): 9571194
Files changed (1) hide show
  1. openshape/__init__.py +1 -1
openshape/__init__.py CHANGED
@@ -13,7 +13,7 @@ def G14(s):
13
  PointPatchTransformer(512, 12, 8, 512*3, 256, 384, 0.2, 64, 6),
14
  nn.Linear(512, 1280)
15
  )
16
- model.load_state_dict(module(s, 'module'))
17
  return model
18
 
19
 
 
13
  PointPatchTransformer(512, 12, 8, 512*3, 256, 384, 0.2, 64, 6),
14
  nn.Linear(512, 1280)
15
  )
16
+ model.load_state_dict(module(s['state_dict'], 'module'))
17
  return model
18
 
19