Image Classification
Transformers
TensorBoard
Safetensors
convnext
Generated from Trainer
Eval Results (legacy)
Instructions to use jinneer/convnext-tiny-224-eurosat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jinneer/convnext-tiny-224-eurosat with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="jinneer/convnext-tiny-224-eurosat") 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("jinneer/convnext-tiny-224-eurosat") model = AutoModelForImageClassification.from_pretrained("jinneer/convnext-tiny-224-eurosat", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 0
Browse files
config.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "facebook/convnext-tiny-224",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"ConvNextForImageClassification"
|
| 5 |
+
],
|
| 6 |
+
"depths": [
|
| 7 |
+
3,
|
| 8 |
+
3,
|
| 9 |
+
9,
|
| 10 |
+
3
|
| 11 |
+
],
|
| 12 |
+
"drop_path_rate": 0.0,
|
| 13 |
+
"hidden_act": "gelu",
|
| 14 |
+
"hidden_sizes": [
|
| 15 |
+
96,
|
| 16 |
+
192,
|
| 17 |
+
384,
|
| 18 |
+
768
|
| 19 |
+
],
|
| 20 |
+
"id2label": {
|
| 21 |
+
"0": "AnnualCrop",
|
| 22 |
+
"1": "Forest",
|
| 23 |
+
"2": "HerbaceousVegetation",
|
| 24 |
+
"3": "Highway",
|
| 25 |
+
"4": "Industrial",
|
| 26 |
+
"5": "Pasture",
|
| 27 |
+
"6": "PermanentCrop",
|
| 28 |
+
"7": "Residential",
|
| 29 |
+
"8": "River",
|
| 30 |
+
"9": "SeaLake"
|
| 31 |
+
},
|
| 32 |
+
"image_size": 224,
|
| 33 |
+
"initializer_range": 0.02,
|
| 34 |
+
"label2id": {
|
| 35 |
+
"AnnualCrop": 0,
|
| 36 |
+
"Forest": 1,
|
| 37 |
+
"HerbaceousVegetation": 2,
|
| 38 |
+
"Highway": 3,
|
| 39 |
+
"Industrial": 4,
|
| 40 |
+
"Pasture": 5,
|
| 41 |
+
"PermanentCrop": 6,
|
| 42 |
+
"Residential": 7,
|
| 43 |
+
"River": 8,
|
| 44 |
+
"SeaLake": 9
|
| 45 |
+
},
|
| 46 |
+
"layer_norm_eps": 1e-12,
|
| 47 |
+
"layer_scale_init_value": 1e-06,
|
| 48 |
+
"model_type": "convnext",
|
| 49 |
+
"num_channels": 3,
|
| 50 |
+
"num_stages": 4,
|
| 51 |
+
"out_features": [
|
| 52 |
+
"stage4"
|
| 53 |
+
],
|
| 54 |
+
"out_indices": [
|
| 55 |
+
4
|
| 56 |
+
],
|
| 57 |
+
"patch_size": 4,
|
| 58 |
+
"problem_type": "single_label_classification",
|
| 59 |
+
"stage_names": [
|
| 60 |
+
"stem",
|
| 61 |
+
"stage1",
|
| 62 |
+
"stage2",
|
| 63 |
+
"stage3",
|
| 64 |
+
"stage4"
|
| 65 |
+
],
|
| 66 |
+
"torch_dtype": "float32",
|
| 67 |
+
"transformers_version": "4.38.2"
|
| 68 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7f6a39120b32ed83472c51617baaa2ae5acb5f9d9a7cb0b6b83487e2b52b22f1
|
| 3 |
+
size 111332552
|
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 |
+
}
|
runs/Apr19_00-11-41_4e71477946f6/events.out.tfevents.1713485539.4e71477946f6.393.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a8aeb5b91a661583a5b59cec87b94b37fcad84f1128d03764b00015097d43afe
|
| 3 |
+
size 11103
|
runs/Apr19_03-28-27_4e71477946f6/events.out.tfevents.1713497345.4e71477946f6.46806.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:81f16e3c250bd96fed0bcac7123ba0701dce5abc42af09aafd8a73573b3edb48
|
| 3 |
+
size 5461
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:74739e8829aa381a257d9a30d65426878119072710e2aafef065acb62b8cb959
|
| 3 |
+
size 4984
|