Model save
Browse files- README.md +51 -0
- config.json +63 -0
- logs/events.out.tfevents.1740289899.a837d8c25e39.930.1 +3 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: facebook/convnext-base-224
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: convnext-base-224_rice-leaf-disease-augmented-v2_fft
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
# convnext-base-224_rice-leaf-disease-augmented-v2_fft
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [facebook/convnext-base-224](https://huggingface.co/facebook/convnext-base-224) on an unknown dataset.
|
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: 5e-05
|
37 |
+
- train_batch_size: 64
|
38 |
+
- eval_batch_size: 64
|
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: cosine_with_restarts
|
42 |
+
- lr_scheduler_warmup_ratio: 0.1
|
43 |
+
- num_epochs: 15
|
44 |
+
- mixed_precision_training: Native AMP
|
45 |
+
|
46 |
+
### Framework versions
|
47 |
+
|
48 |
+
- Transformers 4.48.3
|
49 |
+
- Pytorch 2.5.1+cu124
|
50 |
+
- Datasets 3.3.2
|
51 |
+
- Tokenizers 0.21.0
|
config.json
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/convnext-base-224",
|
3 |
+
"architectures": [
|
4 |
+
"ConvNextForImageClassification"
|
5 |
+
],
|
6 |
+
"depths": [
|
7 |
+
3,
|
8 |
+
3,
|
9 |
+
27,
|
10 |
+
3
|
11 |
+
],
|
12 |
+
"drop_path_rate": 0.0,
|
13 |
+
"hidden_act": "gelu",
|
14 |
+
"hidden_sizes": [
|
15 |
+
128,
|
16 |
+
256,
|
17 |
+
512,
|
18 |
+
1024
|
19 |
+
],
|
20 |
+
"id2label": {
|
21 |
+
"0": "Bacterial Leaf Blight",
|
22 |
+
"1": "Brown Spot",
|
23 |
+
"2": "Healthy Rice Leaf",
|
24 |
+
"3": "Leaf Blast",
|
25 |
+
"4": "Leaf scald",
|
26 |
+
"5": "Narrow Brown Leaf Spot",
|
27 |
+
"6": "Rice Hispa",
|
28 |
+
"7": "Sheath Blight"
|
29 |
+
},
|
30 |
+
"image_size": 224,
|
31 |
+
"initializer_range": 0.02,
|
32 |
+
"label2id": {
|
33 |
+
"Bacterial Leaf Blight": 0,
|
34 |
+
"Brown Spot": 1,
|
35 |
+
"Healthy Rice Leaf": 2,
|
36 |
+
"Leaf Blast": 3,
|
37 |
+
"Leaf scald": 4,
|
38 |
+
"Narrow Brown Leaf Spot": 5,
|
39 |
+
"Rice Hispa": 6,
|
40 |
+
"Sheath Blight": 7
|
41 |
+
},
|
42 |
+
"layer_norm_eps": 1e-12,
|
43 |
+
"layer_scale_init_value": 1e-06,
|
44 |
+
"model_type": "convnext",
|
45 |
+
"num_channels": 3,
|
46 |
+
"num_stages": 4,
|
47 |
+
"out_features": [
|
48 |
+
"stage4"
|
49 |
+
],
|
50 |
+
"out_indices": [
|
51 |
+
4
|
52 |
+
],
|
53 |
+
"patch_size": 4,
|
54 |
+
"stage_names": [
|
55 |
+
"stem",
|
56 |
+
"stage1",
|
57 |
+
"stage2",
|
58 |
+
"stage3",
|
59 |
+
"stage4"
|
60 |
+
],
|
61 |
+
"torch_dtype": "float32",
|
62 |
+
"transformers_version": "4.48.3"
|
63 |
+
}
|
logs/events.out.tfevents.1740289899.a837d8c25e39.930.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f33b011d7f5b1e2ab65bb42cda4031f46ba3c8f5b45eaf99d7e9c441a6e1b473
|
3 |
+
size 88
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d0c7f87755d9f4569218c82bb57be44066162b4d6a37567d80d85de389a95ba3
|
3 |
+
size 350339816
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_pct": 0.875,
|
3 |
+
"do_normalize": 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": "ConvNextImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.229,
|
14 |
+
0.224,
|
15 |
+
0.225
|
16 |
+
],
|
17 |
+
"resample": 3,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"shortest_edge": 224
|
21 |
+
}
|
22 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d853d5745e9fbe8f00adc2ca85a24da48a0d35fd908ad9c487340244d3c514d1
|
3 |
+
size 5496
|