kevinbjoseph
commited on
Commit
•
031e66c
1
Parent(s):
073ca45
End of training
Browse files- README.md +56 -0
- config.json +56 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- imagefolder
|
7 |
+
model-index:
|
8 |
+
- name: convnext_model
|
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_model
|
16 |
+
|
17 |
+
This model was trained from scratch on the imagefolder dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- eval_loss: 0.2166
|
20 |
+
- eval_model_preparation_time: 0.002
|
21 |
+
- eval_runtime: 34.083
|
22 |
+
- eval_samples_per_second: 11.736
|
23 |
+
- eval_steps_per_second: 0.734
|
24 |
+
- step: 0
|
25 |
+
|
26 |
+
## Model description
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Intended uses & limitations
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training and evaluation data
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training procedure
|
39 |
+
|
40 |
+
### Training hyperparameters
|
41 |
+
|
42 |
+
The following hyperparameters were used during training:
|
43 |
+
- learning_rate: 5e-05
|
44 |
+
- train_batch_size: 16
|
45 |
+
- eval_batch_size: 16
|
46 |
+
- seed: 42
|
47 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
48 |
+
- lr_scheduler_type: linear
|
49 |
+
- num_epochs: 3
|
50 |
+
|
51 |
+
### Framework versions
|
52 |
+
|
53 |
+
- Transformers 4.46.3
|
54 |
+
- Pytorch 2.5.1+cpu
|
55 |
+
- Datasets 3.1.0
|
56 |
+
- Tokenizers 0.20.3
|
config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./saved_convnext_model/",
|
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": "cyclone",
|
22 |
+
"1": "earthquake",
|
23 |
+
"2": "flood",
|
24 |
+
"3": "wildfire"
|
25 |
+
},
|
26 |
+
"image_size": 224,
|
27 |
+
"initializer_range": 0.02,
|
28 |
+
"label2id": {
|
29 |
+
"cyclone": 0,
|
30 |
+
"earthquake": 1,
|
31 |
+
"flood": 2,
|
32 |
+
"wildfire": 3
|
33 |
+
},
|
34 |
+
"layer_norm_eps": 1e-12,
|
35 |
+
"layer_scale_init_value": 1e-06,
|
36 |
+
"model_type": "convnext",
|
37 |
+
"num_channels": 3,
|
38 |
+
"num_stages": 4,
|
39 |
+
"out_features": [
|
40 |
+
"stage4"
|
41 |
+
],
|
42 |
+
"out_indices": [
|
43 |
+
4
|
44 |
+
],
|
45 |
+
"patch_size": 4,
|
46 |
+
"problem_type": "single_label_classification",
|
47 |
+
"stage_names": [
|
48 |
+
"stem",
|
49 |
+
"stage1",
|
50 |
+
"stage2",
|
51 |
+
"stage3",
|
52 |
+
"stage4"
|
53 |
+
],
|
54 |
+
"torch_dtype": "float32",
|
55 |
+
"transformers_version": "4.46.3"
|
56 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:251b2fdbfddef72aae4760dfab6086784821febaca54c198d4e9472934aa9367
|
3 |
+
size 350323416
|
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:00c128e7cea18823884425e4cc03894288fc30bea6a37e8cd7046ae89c1dd958
|
3 |
+
size 5240
|