Commit
·
66de988
1
Parent(s):
1702d58
build fix
Browse files- services/model_loader.py +1 -1
services/model_loader.py
CHANGED
@@ -14,6 +14,6 @@ def load_model(weights_path):
|
|
14 |
fusion="add",
|
15 |
pos_enc="absolute"
|
16 |
).to(DEVICE)
|
17 |
-
model.load_state_dict(torch.load(weights_path, map_location=DEVICE))
|
18 |
model.eval
|
19 |
return model
|
|
|
14 |
fusion="add",
|
15 |
pos_enc="absolute"
|
16 |
).to(DEVICE)
|
17 |
+
# model.load_state_dict(torch.load(weights_path, map_location=DEVICE))
|
18 |
model.eval
|
19 |
return model
|