jq commited on
Commit
8fce3b4
·
verified ·
1 Parent(s): d8f0923

unet-resnet18-malaria-trophozoites-wbc

Browse files
Files changed (3) hide show
  1. README.md +82 -52
  2. model.safetensors +2 -2
  3. training_args.bin +3 -0
README.md CHANGED
@@ -1,55 +1,85 @@
1
  ---
2
- library_name: segmentation-models-pytorch
3
- license: mit
4
- pipeline_tag: image-segmentation
5
  tags:
6
- - model_hub_mixin
7
- - pytorch_model_hub_mixin
8
- - segmentation-models-pytorch
9
- - semantic-segmentation
10
- - pytorch
11
- languages:
12
- - python
13
  ---
14
- # Unet Model Card
15
-
16
- Table of Contents:
17
- - [Load trained model](#load-trained-model)
18
- - [Model init parameters](#model-init-parameters)
19
- - [Model metrics](#model-metrics)
20
- - [Dataset](#dataset)
21
-
22
- ## Load trained model
23
- ```python
24
- import segmentation_models_pytorch as smp
25
-
26
- model = smp.from_pretrained("<save-directory-or-this-repo>")
27
- ```
28
-
29
- ## Model init parameters
30
- ```python
31
- model_init_params = {
32
- "encoder_name": "resnet18",
33
- "encoder_depth": 5,
34
- "encoder_weights": "imagenet",
35
- "decoder_use_batchnorm": True,
36
- "decoder_channels": (256, 128, 64, 32, 16),
37
- "decoder_attention_type": None,
38
- "in_channels": 3,
39
- "classes": 2,
40
- "activation": None,
41
- "aux_params": None
42
- }
43
- ```
44
-
45
- ## Model metrics
46
- [More Information Needed]
47
-
48
- ## Dataset
49
- Dataset name: [More Information Needed]
50
-
51
- ## More Information
52
- - Library: https://github.com/qubvel/segmentation_models.pytorch
53
- - Docs: https://smp.readthedocs.io/en/latest/
54
-
55
- This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ library_name: transformers
 
 
3
  tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: unet-resnet18-malaria-trophozoites-wbc
7
+ results: []
 
 
 
8
  ---
9
+
10
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
11
+ should probably proofread and complete it, then remove this comment. -->
12
+
13
+ # unet-resnet18-malaria-trophozoites-wbc
14
+
15
+ This model was trained from scratch on the None dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Loss: 0.0317
18
+
19
+ ## Model description
20
+
21
+ More information needed
22
+
23
+ ## Intended uses & limitations
24
+
25
+ More information needed
26
+
27
+ ## Training and evaluation data
28
+
29
+ More information needed
30
+
31
+ ## Training procedure
32
+
33
+ ### Training hyperparameters
34
+
35
+ The following hyperparameters were used during training:
36
+ - learning_rate: 0.003
37
+ - train_batch_size: 32
38
+ - eval_batch_size: 32
39
+ - seed: 42
40
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
41
+ - lr_scheduler_type: linear
42
+ - num_epochs: 30
43
+
44
+ ### Training results
45
+
46
+ | Training Loss | Epoch | Step | Validation Loss |
47
+ |:-------------:|:-----:|:----:|:---------------:|
48
+ | No log | 1.0 | 211 | 0.1469 |
49
+ | No log | 2.0 | 422 | 0.0453 |
50
+ | 0.1321 | 3.0 | 633 | 0.0406 |
51
+ | 0.1321 | 4.0 | 844 | 0.0401 |
52
+ | 0.0395 | 5.0 | 1055 | 0.0415 |
53
+ | 0.0395 | 6.0 | 1266 | 0.0386 |
54
+ | 0.0395 | 7.0 | 1477 | 0.0389 |
55
+ | 0.0367 | 8.0 | 1688 | 0.0367 |
56
+ | 0.0367 | 9.0 | 1899 | 0.0359 |
57
+ | 0.0356 | 10.0 | 2110 | 0.0383 |
58
+ | 0.0356 | 11.0 | 2321 | 0.0379 |
59
+ | 0.0342 | 12.0 | 2532 | 0.0383 |
60
+ | 0.0342 | 13.0 | 2743 | 0.0360 |
61
+ | 0.0342 | 14.0 | 2954 | 0.0355 |
62
+ | 0.0339 | 15.0 | 3165 | 0.0340 |
63
+ | 0.0339 | 16.0 | 3376 | 0.0346 |
64
+ | 0.0328 | 17.0 | 3587 | 0.0343 |
65
+ | 0.0328 | 18.0 | 3798 | 0.0346 |
66
+ | 0.0319 | 19.0 | 4009 | 0.0338 |
67
+ | 0.0319 | 20.0 | 4220 | 0.0348 |
68
+ | 0.0319 | 21.0 | 4431 | 0.0333 |
69
+ | 0.0313 | 22.0 | 4642 | 0.0342 |
70
+ | 0.0313 | 23.0 | 4853 | 0.0334 |
71
+ | 0.0314 | 24.0 | 5064 | 0.0327 |
72
+ | 0.0314 | 25.0 | 5275 | 0.0328 |
73
+ | 0.0314 | 26.0 | 5486 | 0.0327 |
74
+ | 0.0304 | 27.0 | 5697 | 0.0324 |
75
+ | 0.0304 | 28.0 | 5908 | 0.0321 |
76
+ | 0.0303 | 29.0 | 6119 | 0.0320 |
77
+ | 0.0303 | 30.0 | 6330 | 0.0317 |
78
+
79
+
80
+ ### Framework versions
81
+
82
+ - Transformers 4.48.3
83
+ - Pytorch 2.5.1+cu124
84
+ - Datasets 3.3.0
85
+ - Tokenizers 0.21.0
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8e41db2ae1f4106d55c4239e3b539e8692461e34da1185385f68d91540b16e13
3
- size 57378064
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c318585572e0dbbfdd2d469020bccdf17b49c3d019c9e4d017a5edf0143d5ecb
3
+ size 57378096
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b25d6971bc3fca9b208b2bcf3bc73d58506aab1755742ed1a4701e8a7062c0a
3
+ size 5368