Commit ·
8afc7a9
1
Parent(s): 23044a4
Training in progress epoch 0
Browse files- README.md +63 -0
- config.json +80 -0
- preprocessor_config.json +23 -0
- tf_model.h5 +3 -0
README.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
base_model: nvidia/mit-b1
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_keras_callback
|
| 6 |
+
model-index:
|
| 7 |
+
- name: Lit4pCol4b/mit-b1_segformer_ADE20k_RGB_IS_v1
|
| 8 |
+
results: []
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
| 12 |
+
probably proofread and complete it, then remove this comment. -->
|
| 13 |
+
|
| 14 |
+
# Lit4pCol4b/mit-b1_segformer_ADE20k_RGB_IS_v1
|
| 15 |
+
|
| 16 |
+
This model is a fine-tuned version of [nvidia/mit-b1](https://huggingface.co/nvidia/mit-b1) on an unknown dataset.
|
| 17 |
+
It achieves the following results on the evaluation set:
|
| 18 |
+
- Train Loss: nan
|
| 19 |
+
- Validation Loss: nan
|
| 20 |
+
- Validation Mean Iou: 0.0425
|
| 21 |
+
- Validation Mean Accuracy: 1.0
|
| 22 |
+
- Validation Overall Accuracy: 1.0
|
| 23 |
+
- Validation Accuracy Unlabeled: 1.0
|
| 24 |
+
- Validation Accuracy Objeto Interes: nan
|
| 25 |
+
- Validation Accuracy Agua: nan
|
| 26 |
+
- Validation Iou Unlabeled: 0.0425
|
| 27 |
+
- Validation Iou Objeto Interes: nan
|
| 28 |
+
- Validation Iou Agua: nan
|
| 29 |
+
- Epoch: 0
|
| 30 |
+
|
| 31 |
+
## Model description
|
| 32 |
+
|
| 33 |
+
More information needed
|
| 34 |
+
|
| 35 |
+
## Intended uses & limitations
|
| 36 |
+
|
| 37 |
+
More information needed
|
| 38 |
+
|
| 39 |
+
## Training and evaluation data
|
| 40 |
+
|
| 41 |
+
More information needed
|
| 42 |
+
|
| 43 |
+
## Training procedure
|
| 44 |
+
|
| 45 |
+
### Training hyperparameters
|
| 46 |
+
|
| 47 |
+
The following hyperparameters were used during training:
|
| 48 |
+
- optimizer: {'name': 'Adam', 'weight_decay': None, 'clipnorm': None, 'global_clipnorm': None, 'clipvalue': None, 'use_ema': False, 'ema_momentum': 0.99, 'ema_overwrite_frequency': None, 'jit_compile': True, 'is_legacy_optimizer': False, 'learning_rate': 6e-05, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
|
| 49 |
+
- training_precision: float32
|
| 50 |
+
|
| 51 |
+
### Training results
|
| 52 |
+
|
| 53 |
+
| Train Loss | Validation Loss | Validation Mean Iou | Validation Mean Accuracy | Validation Overall Accuracy | Validation Accuracy Unlabeled | Validation Accuracy Objeto Interes | Validation Accuracy Agua | Validation Iou Unlabeled | Validation Iou Objeto Interes | Validation Iou Agua | Epoch |
|
| 54 |
+
|:----------:|:---------------:|:-------------------:|:------------------------:|:---------------------------:|:-----------------------------:|:----------------------------------:|:------------------------:|:------------------------:|:-----------------------------:|:-------------------:|:-----:|
|
| 55 |
+
| nan | nan | 0.0425 | 1.0 | 1.0 | 1.0 | nan | nan | 0.0425 | nan | nan | 0 |
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
### Framework versions
|
| 59 |
+
|
| 60 |
+
- Transformers 4.35.2
|
| 61 |
+
- TensorFlow 2.15.0
|
| 62 |
+
- Datasets 2.16.1
|
| 63 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "nvidia/mit-b1",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"SegformerForSemanticSegmentation"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.0,
|
| 7 |
+
"classifier_dropout_prob": 0.1,
|
| 8 |
+
"decoder_hidden_size": 256,
|
| 9 |
+
"depths": [
|
| 10 |
+
2,
|
| 11 |
+
2,
|
| 12 |
+
2,
|
| 13 |
+
2
|
| 14 |
+
],
|
| 15 |
+
"downsampling_rates": [
|
| 16 |
+
1,
|
| 17 |
+
4,
|
| 18 |
+
8,
|
| 19 |
+
16
|
| 20 |
+
],
|
| 21 |
+
"drop_path_rate": 0.1,
|
| 22 |
+
"hidden_act": "gelu",
|
| 23 |
+
"hidden_dropout_prob": 0.0,
|
| 24 |
+
"hidden_sizes": [
|
| 25 |
+
64,
|
| 26 |
+
128,
|
| 27 |
+
320,
|
| 28 |
+
512
|
| 29 |
+
],
|
| 30 |
+
"id2label": {
|
| 31 |
+
"0": "unlabeled",
|
| 32 |
+
"1": "objeto_interes",
|
| 33 |
+
"2": "agua"
|
| 34 |
+
},
|
| 35 |
+
"image_size": 224,
|
| 36 |
+
"initializer_range": 0.02,
|
| 37 |
+
"label2id": {
|
| 38 |
+
"agua": 2,
|
| 39 |
+
"objeto_interes": 1,
|
| 40 |
+
"unlabeled": 0
|
| 41 |
+
},
|
| 42 |
+
"layer_norm_eps": 1e-06,
|
| 43 |
+
"mlp_ratios": [
|
| 44 |
+
4,
|
| 45 |
+
4,
|
| 46 |
+
4,
|
| 47 |
+
4
|
| 48 |
+
],
|
| 49 |
+
"model_type": "segformer",
|
| 50 |
+
"num_attention_heads": [
|
| 51 |
+
1,
|
| 52 |
+
2,
|
| 53 |
+
5,
|
| 54 |
+
8
|
| 55 |
+
],
|
| 56 |
+
"num_channels": 3,
|
| 57 |
+
"num_encoder_blocks": 4,
|
| 58 |
+
"patch_sizes": [
|
| 59 |
+
7,
|
| 60 |
+
3,
|
| 61 |
+
3,
|
| 62 |
+
3
|
| 63 |
+
],
|
| 64 |
+
"reshape_last_stage": true,
|
| 65 |
+
"semantic_loss_ignore_index": 255,
|
| 66 |
+
"sr_ratios": [
|
| 67 |
+
8,
|
| 68 |
+
4,
|
| 69 |
+
2,
|
| 70 |
+
1
|
| 71 |
+
],
|
| 72 |
+
"strides": [
|
| 73 |
+
4,
|
| 74 |
+
2,
|
| 75 |
+
2,
|
| 76 |
+
2
|
| 77 |
+
],
|
| 78 |
+
"torch_dtype": "float32",
|
| 79 |
+
"transformers_version": "4.35.2"
|
| 80 |
+
}
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_normalize": true,
|
| 3 |
+
"do_reduce_labels": false,
|
| 4 |
+
"do_rescale": false,
|
| 5 |
+
"do_resize": false,
|
| 6 |
+
"image_mean": [
|
| 7 |
+
0.485,
|
| 8 |
+
0.456,
|
| 9 |
+
0.406
|
| 10 |
+
],
|
| 11 |
+
"image_processor_type": "SegformerImageProcessor",
|
| 12 |
+
"image_std": [
|
| 13 |
+
0.229,
|
| 14 |
+
0.224,
|
| 15 |
+
0.225
|
| 16 |
+
],
|
| 17 |
+
"resample": 2,
|
| 18 |
+
"rescale_factor": 0.00392156862745098,
|
| 19 |
+
"size": {
|
| 20 |
+
"height": 736,
|
| 21 |
+
"width": 736
|
| 22 |
+
}
|
| 23 |
+
}
|
tf_model.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aa12aba4742e7e3cede1fc187f04e30b2864dc846d87b5b6281334d5336702d4
|
| 3 |
+
size 54991500
|