Image Classification
Transformers
TensorBoard
Safetensors
swinv2
Generated from Trainer
Eval Results (legacy)
Instructions to use zireael08/logs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zireael08/logs with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="zireael08/logs") 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("zireael08/logs") model = AutoModelForImageClassification.from_pretrained("zireael08/logs") - Notebooks
- Google Colab
- Kaggle
| { | |
| "architectures": [ | |
| "Swinv2ForImageClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.0, | |
| "depths": [ | |
| 2, | |
| 2, | |
| 6, | |
| 2 | |
| ], | |
| "drop_path_rate": 0.1, | |
| "dtype": "float32", | |
| "embed_dim": 96, | |
| "encoder_stride": 32, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.0, | |
| "hidden_size": 768, | |
| "id2label": { | |
| "0": "Chickenpox", | |
| "1": "Cowpox", | |
| "2": "HFMD", | |
| "3": "Healthy", | |
| "4": "Measles", | |
| "5": "Monkeypox" | |
| }, | |
| "image_size": 256, | |
| "initializer_range": 0.02, | |
| "label2id": { | |
| "Chickenpox": 0, | |
| "Cowpox": 1, | |
| "HFMD": 2, | |
| "Healthy": 3, | |
| "Measles": 4, | |
| "Monkeypox": 5 | |
| }, | |
| "layer_norm_eps": 1e-05, | |
| "mlp_ratio": 4.0, | |
| "model_type": "swinv2", | |
| "num_channels": 3, | |
| "num_heads": [ | |
| 3, | |
| 6, | |
| 12, | |
| 24 | |
| ], | |
| "num_layers": 4, | |
| "out_features": [ | |
| "stage4" | |
| ], | |
| "out_indices": [ | |
| 4 | |
| ], | |
| "patch_size": 4, | |
| "path_norm": true, | |
| "pretrained_window_sizes": [ | |
| 0, | |
| 0, | |
| 0, | |
| 0 | |
| ], | |
| "problem_type": "single_label_classification", | |
| "qkv_bias": true, | |
| "stage_names": [ | |
| "stem", | |
| "stage1", | |
| "stage2", | |
| "stage3", | |
| "stage4" | |
| ], | |
| "transformers_version": "5.0.0", | |
| "use_absolute_embeddings": false, | |
| "use_cache": false, | |
| "window_size": 8 | |
| } | |