nitidpong commited on
Commit
fd0032b
·
verified ·
1 Parent(s): dff6670

Push model using huggingface_hub.

Browse files
Files changed (3) hide show
  1. README.md +3 -3
  2. config.json +18 -18
  3. model.safetensors +2 -2
README.md CHANGED
@@ -29,7 +29,7 @@ model = smp.from_pretrained("<save-directory-or-this-repo>")
29
  ## Model init parameters
30
  ```python
31
  model_init_params = {
32
- "encoder_name": "resnext50_32x4d",
33
  "encoder_depth": 5,
34
  "encoder_weights": "imagenet",
35
  "decoder_use_batchnorm": True,
@@ -46,8 +46,8 @@ model_init_params = {
46
  ```json
47
  [
48
  {
49
- "test_per_image_iou": 0.6655173301696777,
50
- "test_dataset_iou": 0.6499855518341064
51
  }
52
  ]
53
  ```
 
29
  ## Model init parameters
30
  ```python
31
  model_init_params = {
32
+ "encoder_name": "resnet50",
33
  "encoder_depth": 5,
34
  "encoder_weights": "imagenet",
35
  "decoder_use_batchnorm": True,
 
46
  ```json
47
  [
48
  {
49
+ "test_per_image_iou": 0.7155967354774475,
50
+ "test_dataset_iou": 0.6878355741500854
51
  }
52
  ]
53
  ```
config.json CHANGED
@@ -1,19 +1,19 @@
1
- {
2
- "_model_class": "Unet",
3
- "activation": null,
4
- "aux_params": null,
5
- "classes": 1,
6
- "decoder_attention_type": null,
7
- "decoder_channels": [
8
- 256,
9
- 128,
10
- 64,
11
- 32,
12
- 16
13
- ],
14
- "decoder_use_batchnorm": true,
15
- "encoder_depth": 5,
16
- "encoder_name": "resnext50_32x4d",
17
- "encoder_weights": "imagenet",
18
- "in_channels": 3
19
  }
 
1
+ {
2
+ "_model_class": "Unet",
3
+ "activation": null,
4
+ "aux_params": null,
5
+ "classes": 1,
6
+ "decoder_attention_type": null,
7
+ "decoder_channels": [
8
+ 256,
9
+ 128,
10
+ 64,
11
+ 32,
12
+ 16
13
+ ],
14
+ "decoder_use_batchnorm": true,
15
+ "encoder_depth": 5,
16
+ "encoder_name": "resnet50",
17
+ "encoder_weights": "imagenet",
18
+ "in_channels": 3
19
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e241d294e9b7adb00a641df09c000a6c7278bd760599acd39d55f930a365e752
3
- size 128290964
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46b33928f032463f0d3cad4cbecad8bd983849f15262ef893fabd68803f76953
3
+ size 130343012