Training in progress epoch 0
Browse files- README.md +64 -0
- config.json +82 -0
- preprocessor_config.json +23 -0
- tf_model.h5 +3 -0
README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_keras_callback
|
| 5 |
+
model-index:
|
| 6 |
+
- name: dousey/scene_segmentation
|
| 7 |
+
results: []
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
| 11 |
+
probably proofread and complete it, then remove this comment. -->
|
| 12 |
+
|
| 13 |
+
# dousey/scene_segmentation
|
| 14 |
+
|
| 15 |
+
This model is a fine-tuned version of [nvidia/mit-b0](https://huggingface.co/nvidia/mit-b0) on an unknown dataset.
|
| 16 |
+
It achieves the following results on the evaluation set:
|
| 17 |
+
- Train Loss: nan
|
| 18 |
+
- Validation Loss: nan
|
| 19 |
+
- Validation Mean Iou: 0.0217
|
| 20 |
+
- Validation Mean Accuracy: 0.5
|
| 21 |
+
- Validation Overall Accuracy: 0.2545
|
| 22 |
+
- Validation Accuracy Background: 1.0
|
| 23 |
+
- Validation Accuracy Bleuet: 0.0
|
| 24 |
+
- Validation Accuracy Comptonie: nan
|
| 25 |
+
- Validation Accuracy Kalmia: nan
|
| 26 |
+
- Validation Iou Background: 0.0433
|
| 27 |
+
- Validation Iou Bleuet: 0.0
|
| 28 |
+
- Validation Iou Comptonie: nan
|
| 29 |
+
- Validation Iou Kalmia: nan
|
| 30 |
+
- Epoch: 0
|
| 31 |
+
|
| 32 |
+
## Model description
|
| 33 |
+
|
| 34 |
+
More information needed
|
| 35 |
+
|
| 36 |
+
## Intended uses & limitations
|
| 37 |
+
|
| 38 |
+
More information needed
|
| 39 |
+
|
| 40 |
+
## Training and evaluation data
|
| 41 |
+
|
| 42 |
+
More information needed
|
| 43 |
+
|
| 44 |
+
## Training procedure
|
| 45 |
+
|
| 46 |
+
### Training hyperparameters
|
| 47 |
+
|
| 48 |
+
The following hyperparameters were used during training:
|
| 49 |
+
- optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 6e-05, 'decay_steps': 76500, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01}
|
| 50 |
+
- training_precision: float32
|
| 51 |
+
|
| 52 |
+
### Training results
|
| 53 |
+
|
| 54 |
+
| Train Loss | Validation Loss | Validation Mean Iou | Validation Mean Accuracy | Validation Overall Accuracy | Validation Accuracy Background | Validation Accuracy Bleuet | Validation Accuracy Comptonie | Validation Accuracy Kalmia | Validation Iou Background | Validation Iou Bleuet | Validation Iou Comptonie | Validation Iou Kalmia | Epoch |
|
| 55 |
+
|:----------:|:---------------:|:-------------------:|:------------------------:|:---------------------------:|:------------------------------:|:--------------------------:|:-----------------------------:|:--------------------------:|:-------------------------:|:---------------------:|:------------------------:|:---------------------:|:-----:|
|
| 56 |
+
| nan | nan | 0.0217 | 0.5 | 0.2545 | 1.0 | 0.0 | nan | nan | 0.0433 | 0.0 | nan | nan | 0 |
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
### Framework versions
|
| 60 |
+
|
| 61 |
+
- Transformers 4.26.0
|
| 62 |
+
- TensorFlow 2.9.2
|
| 63 |
+
- Datasets 2.9.0
|
| 64 |
+
- Tokenizers 0.13.2
|
config.json
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "nvidia/mit-b0",
|
| 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 |
+
32,
|
| 26 |
+
64,
|
| 27 |
+
160,
|
| 28 |
+
256
|
| 29 |
+
],
|
| 30 |
+
"id2label": {
|
| 31 |
+
"0": "Background",
|
| 32 |
+
"1": "Bleuet",
|
| 33 |
+
"2": "Comptonie",
|
| 34 |
+
"3": "Kalmia"
|
| 35 |
+
},
|
| 36 |
+
"image_size": 224,
|
| 37 |
+
"initializer_range": 0.02,
|
| 38 |
+
"label2id": {
|
| 39 |
+
"Background": 0,
|
| 40 |
+
"Bleuet": 1,
|
| 41 |
+
"Comptonie": 2,
|
| 42 |
+
"Kalmia": 3
|
| 43 |
+
},
|
| 44 |
+
"layer_norm_eps": 1e-06,
|
| 45 |
+
"mlp_ratios": [
|
| 46 |
+
4,
|
| 47 |
+
4,
|
| 48 |
+
4,
|
| 49 |
+
4
|
| 50 |
+
],
|
| 51 |
+
"model_type": "segformer",
|
| 52 |
+
"num_attention_heads": [
|
| 53 |
+
1,
|
| 54 |
+
2,
|
| 55 |
+
5,
|
| 56 |
+
8
|
| 57 |
+
],
|
| 58 |
+
"num_channels": 3,
|
| 59 |
+
"num_encoder_blocks": 4,
|
| 60 |
+
"patch_sizes": [
|
| 61 |
+
7,
|
| 62 |
+
3,
|
| 63 |
+
3,
|
| 64 |
+
3
|
| 65 |
+
],
|
| 66 |
+
"reshape_last_stage": true,
|
| 67 |
+
"semantic_loss_ignore_index": 255,
|
| 68 |
+
"sr_ratios": [
|
| 69 |
+
8,
|
| 70 |
+
4,
|
| 71 |
+
2,
|
| 72 |
+
1
|
| 73 |
+
],
|
| 74 |
+
"strides": [
|
| 75 |
+
4,
|
| 76 |
+
2,
|
| 77 |
+
2,
|
| 78 |
+
2
|
| 79 |
+
],
|
| 80 |
+
"torch_dtype": "float32",
|
| 81 |
+
"transformers_version": "4.26.0"
|
| 82 |
+
}
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_normalize": true,
|
| 3 |
+
"do_reduce_labels": true,
|
| 4 |
+
"do_rescale": true,
|
| 5 |
+
"do_resize": true,
|
| 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": 512,
|
| 21 |
+
"width": 512
|
| 22 |
+
}
|
| 23 |
+
}
|
tf_model.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4c37ed986c4aaf79a92cb007f975ef3cc4ed04385465d851e846488aa68980ce
|
| 3 |
+
size 15135720
|