update files to conform to new wsinfer-zoo spec
Browse files- config.json +36 -21
- model.safetensors +3 -0
- pytorch_model.bin +3 -0
- torchscript_model.pt +2 -2
config.json
CHANGED
@@ -1,26 +1,41 @@
|
|
1 |
{
|
2 |
-
|
3 |
-
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
"mean": [
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
],
|
10 |
"std": [
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
]
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
"lepidic",
|
20 |
-
"benign",
|
21 |
-
"acinar",
|
22 |
-
"micropapillary",
|
23 |
-
"mucinous",
|
24 |
-
"solid"
|
25 |
-
]
|
26 |
-
}
|
|
|
1 |
{
|
2 |
+
"spec_version": "1.0",
|
3 |
+
"architecture": "resnet34",
|
4 |
+
"num_classes": 6,
|
5 |
+
"class_names": [
|
6 |
+
"lepidic",
|
7 |
+
"benign",
|
8 |
+
"acinar",
|
9 |
+
"micropapillary",
|
10 |
+
"mucinous",
|
11 |
+
"solid"
|
12 |
+
],
|
13 |
+
"patch_size_pixels": 350,
|
14 |
+
"spacing_um_px": 0.5,
|
15 |
+
"transform": [
|
16 |
+
{
|
17 |
+
"name": "Resize",
|
18 |
+
"arguments": {
|
19 |
+
"size": 224
|
20 |
+
}
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"name": "ToTensor"
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"name": "Normalize",
|
27 |
+
"arguments": {
|
28 |
"mean": [
|
29 |
+
0.8301,
|
30 |
+
0.66,
|
31 |
+
0.8054
|
32 |
],
|
33 |
"std": [
|
34 |
+
0.0864,
|
35 |
+
0.1602,
|
36 |
+
0.0647
|
37 |
]
|
38 |
+
}
|
39 |
+
}
|
40 |
+
]
|
41 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8bbebb93dd0015c5c54372aafe3a7683cc15960f21abb6e937dcfb78e4b7d35b
|
3 |
+
size 85238704
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:95e10bd66f11c318efe1f137ea424d713097001fa6e6004e648a56ee4648b3b4
|
3 |
+
size 85290805
|
torchscript_model.pt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3ebd49d15030fb4c3066fc16a5888be9230878efc4eb2be69ade8587b7b16ca7
|
3 |
+
size 85346728
|