Image Classification
Transformers
PyTorch
TensorBoard
convnextv2
Generated from Trainer
Eval Results (legacy)
Instructions to use ahmedALM1221/convnextv2-large-1k-224-finetuned-eurosat-50 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ahmedALM1221/convnextv2-large-1k-224-finetuned-eurosat-50 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ahmedALM1221/convnextv2-large-1k-224-finetuned-eurosat-50") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("ahmedALM1221/convnextv2-large-1k-224-finetuned-eurosat-50") model = AutoModelForImageClassification.from_pretrained("ahmedALM1221/convnextv2-large-1k-224-finetuned-eurosat-50", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
5ce0ebb
1
Parent(s): 188024d
Training in progress, epoch 1
Browse files- .gitignore +1 -0
- config.json +61 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- runs/Jul06_16-11-08_86ee152215b1/events.out.tfevents.1688659897.86ee152215b1.2511.3 +3 -0
- training_args.bin +3 -0
.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
checkpoint-*/
|
config.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "facebook/convnextv2-large-1k-224",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"ConvNextV2ForImageClassification"
|
| 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 |
+
192,
|
| 16 |
+
384,
|
| 17 |
+
768,
|
| 18 |
+
1536
|
| 19 |
+
],
|
| 20 |
+
"id2label": {
|
| 21 |
+
"0": "akiec",
|
| 22 |
+
"1": "bcc",
|
| 23 |
+
"2": "bkl",
|
| 24 |
+
"3": "df",
|
| 25 |
+
"4": "mel",
|
| 26 |
+
"5": "nv",
|
| 27 |
+
"6": "vasc"
|
| 28 |
+
},
|
| 29 |
+
"image_size": 224,
|
| 30 |
+
"initializer_range": 0.02,
|
| 31 |
+
"label2id": {
|
| 32 |
+
"akiec": 0,
|
| 33 |
+
"bcc": 1,
|
| 34 |
+
"bkl": 2,
|
| 35 |
+
"df": 3,
|
| 36 |
+
"mel": 4,
|
| 37 |
+
"nv": 5,
|
| 38 |
+
"vasc": 6
|
| 39 |
+
},
|
| 40 |
+
"layer_norm_eps": 1e-12,
|
| 41 |
+
"model_type": "convnextv2",
|
| 42 |
+
"num_channels": 3,
|
| 43 |
+
"num_stages": 4,
|
| 44 |
+
"out_features": [
|
| 45 |
+
"stage4"
|
| 46 |
+
],
|
| 47 |
+
"out_indices": [
|
| 48 |
+
4
|
| 49 |
+
],
|
| 50 |
+
"patch_size": 4,
|
| 51 |
+
"problem_type": "single_label_classification",
|
| 52 |
+
"stage_names": [
|
| 53 |
+
"stem",
|
| 54 |
+
"stage1",
|
| 55 |
+
"stage2",
|
| 56 |
+
"stage3",
|
| 57 |
+
"stage4"
|
| 58 |
+
],
|
| 59 |
+
"torch_dtype": "float32",
|
| 60 |
+
"transformers_version": "4.30.2"
|
| 61 |
+
}
|
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 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5113db870b3c3b67ef80c2f0ed778134ddc3c5b2c829cb82072f523e9b537d49
|
| 3 |
+
size 785854781
|
runs/Jul06_16-11-08_86ee152215b1/events.out.tfevents.1688659897.86ee152215b1.2511.3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:62feba2098d8c74a74f1804763b0df698d0654defbb064acdb4f6c7ced95e969
|
| 3 |
+
size 8391
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:079c393c4682b73ba1122bcd5b9bbadb73ff4c2a32c5fdc27f5dd343c6ec6704
|
| 3 |
+
size 4027
|