Image Classification
Transformers
TensorBoard
Safetensors
vit
Generated from Trainer
Eval Results (legacy)
Instructions to use Nick6154-dev/vit-base-patch16-224-crochets-clothes-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Nick6154-dev/vit-base-patch16-224-crochets-clothes-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Nick6154-dev/vit-base-patch16-224-crochets-clothes-classification") 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("Nick6154-dev/vit-base-patch16-224-crochets-clothes-classification") model = AutoModelForImageClassification.from_pretrained("Nick6154-dev/vit-base-patch16-224-crochets-clothes-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 0
Browse filesFiles changed (5)
12345678910111213141516171819202122232425262728293031323334{ "_name_or_path": "google/vit-base-patch16-224", "architectures": [ "ViTForImageClassification" ], "attention_probs_dropout_prob": 0.0, "encoder_stride": 16, "hidden_act": "gelu", "hidden_dropout_prob": 0.0, "hidden_size": 768, "id2label": { "0": "crochets", "1": "no-crochets", "2": "others" }, "image_size": 224, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "crochets": 0, "no-crochets": 1, "others": 2 }, "layer_norm_eps": 1e-12, "model_type": "vit", "num_attention_heads": 12, "num_channels": 3, "num_hidden_layers": 12, "patch_size": 16, "problem_type": "single_label_classification", "qkv_bias": true, "torch_dtype": "float32", "transformers_version": "4.38.1"}123version https://git-lfs.github.com/spec/v1oid sha256:61587d55e8311c34169dc75e3d0c2c751acb4bb5d1138cffa69f07fd688803a9size 34322705212345678910111213141516171819202122{ "do_normalize": true, "do_rescale": true, "do_resize": true, "image_mean": [ 0.5, 0.5, 0.5 ], "image_processor_type": "ViTImageProcessor", "image_std": [ 0.5, 0.5, 0.5 ], "resample": 2, "rescale_factor": 0.00392156862745098, "size": { "height": 224, "width": 224 }}123version https://git-lfs.github.com/spec/v1oid sha256:5cf4c52654e6bf4a9048690134523c8a29297c9e5940f60f268eb09492adfdc2size 7743123version https://git-lfs.github.com/spec/v1oid sha256:ea1e94be2cec06131801c3598b77f99170c8980fc293904895cdaae55f20f3fesize 4984config.jsonAdded+34
model.safetensorsAdded+3
preprocessor_config.jsonAdded+22
runs/Feb22_01-29-19_e0eba228dbb5/events.out.tfevents.1708565382.e0eba228dbb5.9867.0Added+3
training_args.binAdded+3