Instructions to use aee4/G17-AMFU-Net with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aee4/G17-AMFU-Net with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AMFUNet model = AMFUNet.from_pretrained("aee4/G17-AMFU-Net", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model save
Browse files- README.md +100 -0
- model.safetensors +1 -1
README.md
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
metrics:
|
| 6 |
+
- precision
|
| 7 |
+
- recall
|
| 8 |
+
model-index:
|
| 9 |
+
- name: G17-AMFU-Net
|
| 10 |
+
results: []
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 14 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 15 |
+
|
| 16 |
+
# G17-AMFU-Net
|
| 17 |
+
|
| 18 |
+
This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
|
| 19 |
+
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: 0.2948
|
| 21 |
+
- Dice: 0.8285
|
| 22 |
+
- Iou: 0.7446
|
| 23 |
+
- Precision: 0.8438
|
| 24 |
+
- Recall: 0.8598
|
| 25 |
+
- Specificity: 0.9846
|
| 26 |
+
|
| 27 |
+
## Model description
|
| 28 |
+
|
| 29 |
+
More information needed
|
| 30 |
+
|
| 31 |
+
## Intended uses & limitations
|
| 32 |
+
|
| 33 |
+
More information needed
|
| 34 |
+
|
| 35 |
+
## Training and evaluation data
|
| 36 |
+
|
| 37 |
+
More information needed
|
| 38 |
+
|
| 39 |
+
## Training procedure
|
| 40 |
+
|
| 41 |
+
### Training hyperparameters
|
| 42 |
+
|
| 43 |
+
The following hyperparameters were used during training:
|
| 44 |
+
- learning_rate: 0.0003
|
| 45 |
+
- train_batch_size: 4
|
| 46 |
+
- eval_batch_size: 4
|
| 47 |
+
- seed: 42
|
| 48 |
+
- gradient_accumulation_steps: 2
|
| 49 |
+
- total_train_batch_size: 8
|
| 50 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 51 |
+
- lr_scheduler_type: linear
|
| 52 |
+
- num_epochs: 60
|
| 53 |
+
|
| 54 |
+
### Training results
|
| 55 |
+
|
| 56 |
+
| Training Loss | Epoch | Step | Validation Loss | Dice | Iou | Precision | Recall | Specificity |
|
| 57 |
+
|:-------------:|:-------:|:----:|:---------------:|:------:|:------:|:---------:|:------:|:-----------:|
|
| 58 |
+
| 1.0718 | 1.1848 | 250 | 1.0382 | 0.5860 | 0.4503 | 0.5331 | 0.8221 | 0.9518 |
|
| 59 |
+
| 0.7947 | 2.3697 | 500 | 0.7440 | 0.6467 | 0.5207 | 0.5922 | 0.8447 | 0.9562 |
|
| 60 |
+
| 0.5498 | 3.5545 | 750 | 0.5669 | 0.7286 | 0.6204 | 0.7235 | 0.8263 | 0.9778 |
|
| 61 |
+
| 0.5368 | 4.7393 | 1000 | 0.5151 | 0.7452 | 0.6478 | 0.8479 | 0.7400 | 0.9908 |
|
| 62 |
+
| 0.4243 | 5.9242 | 1250 | 0.4263 | 0.7608 | 0.6599 | 0.7784 | 0.8140 | 0.9821 |
|
| 63 |
+
| 0.4262 | 7.1090 | 1500 | 0.3980 | 0.7746 | 0.6779 | 0.7891 | 0.8336 | 0.9797 |
|
| 64 |
+
| 0.3725 | 8.2938 | 1750 | 0.4304 | 0.7567 | 0.6697 | 0.8597 | 0.7570 | 0.9904 |
|
| 65 |
+
| 0.3821 | 9.4787 | 2000 | 0.3779 | 0.7855 | 0.6966 | 0.8407 | 0.8049 | 0.9869 |
|
| 66 |
+
| 0.3208 | 10.6635 | 2250 | 0.3735 | 0.7872 | 0.6951 | 0.8321 | 0.8071 | 0.9869 |
|
| 67 |
+
| 0.428 | 11.8483 | 2500 | 0.3502 | 0.7978 | 0.7073 | 0.8326 | 0.8180 | 0.9865 |
|
| 68 |
+
| 0.3897 | 13.0332 | 2750 | 0.3738 | 0.7856 | 0.6926 | 0.7879 | 0.8389 | 0.9814 |
|
| 69 |
+
| 0.3618 | 14.2180 | 3000 | 0.3871 | 0.7787 | 0.6846 | 0.8853 | 0.7413 | 0.9920 |
|
| 70 |
+
| 0.315 | 15.4028 | 3250 | 0.3467 | 0.8045 | 0.7187 | 0.8567 | 0.8101 | 0.9890 |
|
| 71 |
+
| 0.3798 | 16.5877 | 3500 | 0.3337 | 0.8116 | 0.7224 | 0.8230 | 0.8481 | 0.9849 |
|
| 72 |
+
| 0.3345 | 17.7725 | 3750 | 0.3244 | 0.8109 | 0.7281 | 0.8750 | 0.8128 | 0.9891 |
|
| 73 |
+
| 0.3678 | 18.9573 | 4000 | 0.3278 | 0.8133 | 0.7271 | 0.8281 | 0.8526 | 0.9846 |
|
| 74 |
+
| 0.3247 | 20.1422 | 4250 | 0.3216 | 0.8107 | 0.7252 | 0.8291 | 0.8504 | 0.9805 |
|
| 75 |
+
| 0.3474 | 21.3270 | 4500 | 0.3534 | 0.7956 | 0.7096 | 0.8763 | 0.7865 | 0.9921 |
|
| 76 |
+
| 0.2496 | 22.5118 | 4750 | 0.3227 | 0.8153 | 0.7305 | 0.8556 | 0.8224 | 0.9883 |
|
| 77 |
+
| 0.3256 | 23.6967 | 5000 | 0.3235 | 0.8139 | 0.7242 | 0.8041 | 0.8716 | 0.9811 |
|
| 78 |
+
| 0.3007 | 24.8815 | 5250 | 0.3164 | 0.8170 | 0.7314 | 0.8368 | 0.8499 | 0.9834 |
|
| 79 |
+
| 0.3147 | 26.0664 | 5500 | 0.3132 | 0.8164 | 0.7296 | 0.8430 | 0.8377 | 0.9867 |
|
| 80 |
+
| 0.32 | 27.2512 | 5750 | 0.3268 | 0.8133 | 0.7320 | 0.8551 | 0.8234 | 0.9888 |
|
| 81 |
+
| 0.3075 | 28.4360 | 6000 | 0.3280 | 0.8147 | 0.7284 | 0.8323 | 0.8503 | 0.9856 |
|
| 82 |
+
| 0.3115 | 29.6209 | 6250 | 0.3149 | 0.8161 | 0.7299 | 0.8580 | 0.8224 | 0.9845 |
|
| 83 |
+
| 0.289 | 30.8057 | 6500 | 0.2971 | 0.8276 | 0.7438 | 0.8677 | 0.8299 | 0.9867 |
|
| 84 |
+
| 0.3096 | 31.9905 | 6750 | 0.2892 | 0.8331 | 0.7491 | 0.8273 | 0.8792 | 0.9803 |
|
| 85 |
+
| 0.2563 | 33.1754 | 7000 | 0.2998 | 0.8290 | 0.7431 | 0.8391 | 0.8567 | 0.9843 |
|
| 86 |
+
| 0.2647 | 34.3602 | 7250 | 0.3341 | 0.8112 | 0.7275 | 0.8952 | 0.7875 | 0.9916 |
|
| 87 |
+
| 0.2489 | 35.5450 | 7500 | 0.3096 | 0.8191 | 0.7331 | 0.8294 | 0.8540 | 0.9829 |
|
| 88 |
+
| 0.252 | 36.7299 | 7750 | 0.2965 | 0.8302 | 0.7484 | 0.8591 | 0.8447 | 0.9872 |
|
| 89 |
+
| 0.2575 | 37.9147 | 8000 | 0.3077 | 0.8188 | 0.7372 | 0.8603 | 0.8227 | 0.9882 |
|
| 90 |
+
| 0.2733 | 39.0995 | 8250 | 0.2984 | 0.8260 | 0.7461 | 0.8715 | 0.8288 | 0.9887 |
|
| 91 |
+
| 0.2686 | 40.2844 | 8500 | 0.2935 | 0.8307 | 0.7453 | 0.8404 | 0.8634 | 0.9815 |
|
| 92 |
+
| 0.2413 | 41.4692 | 8750 | 0.2948 | 0.8285 | 0.7446 | 0.8438 | 0.8598 | 0.9846 |
|
| 93 |
+
|
| 94 |
+
|
| 95 |
+
### Framework versions
|
| 96 |
+
|
| 97 |
+
- Transformers 4.57.1
|
| 98 |
+
- Pytorch 2.10.0+cu128
|
| 99 |
+
- Datasets 4.8.5
|
| 100 |
+
- Tokenizers 0.22.2
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 24995616
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:15816a6f6b36555f6ecd628cbdfe22b603bde1b7c3abc6c0a84f92e0abdc2cd6
|
| 3 |
size 24995616
|