Spaces:
Runtime error
Runtime error
add new checkpoint file
Browse files- model.py +1 -1
- models/orgaquant_pretrained_new.pth +3 -0
model.py
CHANGED
@@ -23,7 +23,7 @@ class Model:
|
|
23 |
|
24 |
|
25 |
def _load_model(self, name: str) -> nn.Module:
|
26 |
-
return init_detector('configs/_base_/faster-rcnn_r50_fpn_1x_coco.py', 'models/
|
27 |
|
28 |
def set_model(self, name: str) -> None:
|
29 |
if name == self.model_name:
|
|
|
23 |
|
24 |
|
25 |
def _load_model(self, name: str) -> nn.Module:
|
26 |
+
return init_detector('configs/_base_/faster-rcnn_r50_fpn_1x_coco.py', 'models/orgaquant_pretrained_new.pth' , device=self.device)
|
27 |
|
28 |
def set_model(self, name: str) -> None:
|
29 |
if name == self.model_name:
|
models/orgaquant_pretrained_new.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:944e0c4bbecd96a1ad2c3533f11d6adbd90d23145b820c153289f60f4e628643
|
3 |
+
size 495369621
|