SodaXII commited on
Commit
eb2ef3a
·
verified ·
1 Parent(s): 351c54a

Model save

Browse files
README.md ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: microsoft/resnet-50
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: resnet-50_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
+ # resnet-50_rice-leaf-disease-augmented-v2_fft
16
+
17
+ This model is a fine-tuned version of [microsoft/resnet-50](https://huggingface.co/microsoft/resnet-50) 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
+
45
+ ### Framework versions
46
+
47
+ - Transformers 4.48.3
48
+ - Pytorch 2.5.1+cu124
49
+ - Datasets 3.3.2
50
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/resnet-50",
3
+ "architectures": [
4
+ "ResNetForImageClassification"
5
+ ],
6
+ "depths": [
7
+ 3,
8
+ 4,
9
+ 6,
10
+ 3
11
+ ],
12
+ "downsample_in_bottleneck": false,
13
+ "downsample_in_first_stage": false,
14
+ "embedding_size": 64,
15
+ "hidden_act": "relu",
16
+ "hidden_sizes": [
17
+ 256,
18
+ 512,
19
+ 1024,
20
+ 2048
21
+ ],
22
+ "id2label": {
23
+ "0": "Bacterial Leaf Blight",
24
+ "1": "Brown Spot",
25
+ "2": "Healthy Rice Leaf",
26
+ "3": "Leaf Blast",
27
+ "4": "Leaf scald",
28
+ "5": "Narrow Brown Leaf Spot",
29
+ "6": "Rice Hispa",
30
+ "7": "Sheath Blight"
31
+ },
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_type": "bottleneck",
43
+ "model_type": "resnet",
44
+ "num_channels": 3,
45
+ "out_features": [
46
+ "stage4"
47
+ ],
48
+ "out_indices": [
49
+ 4
50
+ ],
51
+ "stage_names": [
52
+ "stem",
53
+ "stage1",
54
+ "stage2",
55
+ "stage3",
56
+ "stage4"
57
+ ],
58
+ "torch_dtype": "float32",
59
+ "transformers_version": "4.48.3"
60
+ }
logs/events.out.tfevents.1740257113.8dbac2334049.254.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:112ae5e877cfd7b34b419544ab05c520e59e2b4e3fae6f67d0ac9fb2f1e6e1fb
3
+ size 88
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9cd510075ceb4a1f6dd7cd1285b22ad83850c300e80d5a3f3a50e4a83d22cc30
3
+ size 94352152
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:5fe8da1dd89984c4c60084967fbb9185dfabe13f9424a6020a088883d7e857b4
3
+ size 5432