Image Classification
Transformers
PyTorch
TensorBoard
Safetensors
vit
Generated from Trainer
Eval Results (legacy)
Instructions to use Woleek/camera-type with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Woleek/camera-type with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Woleek/camera-type") 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("Woleek/camera-type") model = AutoModelForImageClassification.from_pretrained("Woleek/camera-type", device_map="auto") - Notebooks
- Google Colab
- Kaggle
update model card README.md
Browse files123456714 unmodified lines222324252627281 unmodified line3031323334353637383913 unmodified lines535455565758594 unmodified lines646566676869707172---license: otherbase_model: google/mobilenet_v2_0.75_160tags:- generated_from_trainerdatasets:- imagefolder14 unmodified linesmetrics:- name: Accuracytype: accuracyvalue: 0.9866666666666667---<!-- This model card has been generated automatically according to the information the Trainer had access to. You1 unmodified line# camera-typeThis model is a fine-tuned version of [google/mobilenet_v2_0.75_160](https://huggingface.co/google/mobilenet_v2_0.75_160) on the imagefolder dataset.It achieves the following results on the evaluation set:- Loss: 0.0299- Accuracy: 0.9867## Model description13 unmodified linesThe following hyperparameters were used during training:- learning_rate: 0.0001- train_batch_size: 8- eval_batch_size: 8- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-084 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:--------:|| 0.1286 | 1.33 | 200 | 0.0727 | 0.98 || 0.036 | 2.67 | 400 | 0.2050 | 0.9333 || 0.0341 | 4.0 | 600 | 0.0299 | 0.9867 |### Framework versions1234567814 unmodified lines232425262728291 unmodified line3132333435363738394013 unmodified lines545556575859604 unmodified lines65666768697071727374757677787980---license: apache-2.0base_model: microsoft/resnet-50tags:- image-classification- generated_from_trainerdatasets:- imagefolder14 unmodified linesmetrics:- name: Accuracytype: accuracyvalue: 0.9382716049382716---<!-- This model card has been generated automatically according to the information the Trainer had access to. You1 unmodified line# camera-typeThis model is a fine-tuned version of [microsoft/resnet-50](https://huggingface.co/microsoft/resnet-50) on the imagefolder dataset.It achieves the following results on the evaluation set:- Loss: 0.1654- Accuracy: 0.9383## Model description13 unmodified linesThe following hyperparameters were used during training:- learning_rate: 0.0001- train_batch_size: 10- eval_batch_size: 8- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-084 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:--------:|| 0.4597 | 0.5 | 200 | 0.2801 | 0.9242 || 0.1375 | 0.99 | 400 | 0.1654 | 0.9383 || 0.0795 | 1.49 | 600 | 0.1904 | 0.9383 || 0.0686 | 1.98 | 800 | 0.1810 | 0.9453 || 0.026 | 2.48 | 1000 | 0.2216 | 0.9400 || 0.0495 | 2.97 | 1200 | 0.2096 | 0.9453 || 0.0487 | 3.47 | 1400 | 0.2174 | 0.9436 || 0.0268 | 3.96 | 1600 | 0.2304 | 0.9453 || 0.0254 | 4.46 | 1800 | 0.2574 | 0.9400 || 0.0186 | 4.95 | 2000 | 0.3212 | 0.9383 |### Framework versions
README.md+18-10