kaczmarj commited on
Commit
c4693e0
1 Parent(s): fbaab7d

update files to conform to new wsinfer-zoo spec

Browse files
Files changed (4) hide show
  1. config.json +36 -21
  2. model.safetensors +3 -0
  3. pytorch_model.bin +3 -0
  4. torchscript_model.pt +2 -2
config.json CHANGED
@@ -1,26 +1,41 @@
1
  {
2
- "num_classes": 6,
3
- "transform": {
4
- "resize_size": 224,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  "mean": [
6
- 0.8301,
7
- 0.66,
8
- 0.8054
9
  ],
10
  "std": [
11
- 0.0864,
12
- 0.1602,
13
- 0.0647
14
  ]
15
- },
16
- "patch_size_pixels": 350,
17
- "spacing_um_px": 0.5,
18
- "class_names": [
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:d2cafd815a4bfc970c1b423a6c8e1f817f7dc18fc8261774d18aac4d2ed29360
3
- size 85352028
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ebd49d15030fb4c3066fc16a5888be9230878efc4eb2be69ade8587b7b16ca7
3
+ size 85346728