Image Classification
Transformers
TensorBoard
Safetensors
swin
Generated from Trainer
Eval Results (legacy)
Instructions to use judith0/v1-ineClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use judith0/v1-ineClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="judith0/v1-ineClassification") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("judith0/v1-ineClassification") model = AutoModelForImageClassification.from_pretrained("judith0/v1-ineClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 0
Browse filesFiles changed (5)
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ "_name_or_path": "microsoft/swin-tiny-patch4-window7-224", "architectures": [ "SwinForImageClassification" ], "attention_probs_dropout_prob": 0.0, "depths": [ 2, 2, 6, 2 ], "drop_path_rate": 0.1, "embed_dim": 96, "encoder_stride": 32, "hidden_act": "gelu", "hidden_dropout_prob": 0.0, "hidden_size": 768, "id2label": { "0": "OTHER", "1": "anverso", "2": "other", "3": "reverso" }, "image_size": 224, "initializer_range": 0.02, "label2id": { "OTHER": 0, "anverso": 1, "other": 2, "reverso": 3 }, "layer_norm_eps": 1e-05, "mlp_ratio": 4.0, "model_type": "swin", "num_channels": 3, "num_heads": [ 3, 6, 12, 24 ], "num_layers": 4, "out_features": [ "stage4" ], "out_indices": [ 4 ], "patch_size": 4, "path_norm": true, "problem_type": "single_label_classification", "qkv_bias": true, "stage_names": [ "stem", "stage1", "stage2", "stage3", "stage4" ], "torch_dtype": "float32", "transformers_version": "4.35.2", "use_absolute_embeddings": false, "window_size": 7}123version https://git-lfs.github.com/spec/v1oid sha256:e933a57c629e55fea8b74f5a3f06c9c45550cf40081577c83daf89e07ba9b8e2size 11034898412345678910111213141516171819202122{ "do_normalize": true, "do_rescale": true, "do_resize": true, "image_mean": [ 0.485, 0.456, 0.406 ], "image_processor_type": "ViTImageProcessor", "image_std": [ 0.229, 0.224, 0.225 ], "resample": 3, "rescale_factor": 0.00392156862745098, "size": { "height": 224, "width": 224 }}123version https://git-lfs.github.com/spec/v1oid sha256:7c3102cd7714a6f47ac3ad4c4a75145c712cce4c56c786279e63a2cd0633c409size 5065123version https://git-lfs.github.com/spec/v1oid sha256:f71c9703ad478409225e10eaa57e1bc0a1507ec3fc4117985b39003e188a01bbsize 4664config.jsonAdded+65
model.safetensorsAdded+3
preprocessor_config.jsonAdded+22
runs/Feb01_01-50-18_b289215401b8/events.out.tfevents.1706752239.b289215401b8.1578.0Added+3
training_args.binAdded+3