Image Classification
Transformers
TensorBoard
Safetensors
swinv2
Generated from Trainer
Eval Results (legacy)
Instructions to use Angy309/swinv2-tiny-patch4-window16-256-prueba3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Angy309/swinv2-tiny-patch4-window16-256-prueba3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Angy309/swinv2-tiny-patch4-window16-256-prueba3") 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("Angy309/swinv2-tiny-patch4-window16-256-prueba3") model = AutoModelForImageClassification.from_pretrained("Angy309/swinv2-tiny-patch4-window16-256-prueba3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 0
Browse filesFiles changed (5)
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667{ "_name_or_path": "microsoft/swinv2-tiny-patch4-window16-256", "architectures": [ "Swinv2ForImageClassification" ], "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": "2357 Brick corner 1x2x2", "1": "3004 Brick 1x2" }, "image_size": 256, "initializer_range": 0.02, "label2id": { "2357 Brick corner 1x2x2": 0, "3004 Brick 1x2": 1 }, "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" ], "torch_dtype": "float32", "transformers_version": "4.40.2", "use_absolute_embeddings": false, "window_size": 16}123version https://git-lfs.github.com/spec/v1oid sha256:5208e3100d9be74d368f5edc08395a915e784240a7391b6dd5aceb73add3b9b4size 110350128123456789101112131415161718192021222324252627282930313233343536{ "_valid_processor_keys": [ "images", "do_resize", "size", "resample", "do_rescale", "rescale_factor", "do_normalize", "image_mean", "image_std", "return_tensors", "data_format", "input_data_format" ], "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:99a295b01f77c25d7076a9f85e44715650db1e97a3495414e36e4cf4d83f4777size 5553123version https://git-lfs.github.com/spec/v1oid sha256:052d70c0fd7379be81a1ea6f4fa997c4e2e47ffb86b0a76de693a6f3abdaa756size 5048config.jsonAdded+67
model.safetensorsAdded+3
preprocessor_config.jsonAdded+36
runs/May13_18-48-31_24cc275b3536/events.out.tfevents.1715626112.24cc275b3536.549.4Added+3
training_args.binAdded+3