Push model using huggingface_hub.
Browse files- README.md +3 -3
- config.json +18 -18
- 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": "
|
| 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.
|
| 50 |
-
"test_dataset_iou": 0.
|
| 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": "
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:46b33928f032463f0d3cad4cbecad8bd983849f15262ef893fabd68803f76953
|
| 3 |
+
size 130343012
|