Instructions to use LuGot16/spermatogenesis-classifier-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LuGot16/spermatogenesis-classifier-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="LuGot16/spermatogenesis-classifier-v2") 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("LuGot16/spermatogenesis-classifier-v2") model = AutoModelForImageClassification.from_pretrained("LuGot16/spermatogenesis-classifier-v2") - Notebooks
- Google Colab
- Kaggle
| { | |
| "eval_loss": 0.42126893997192383, | |
| "eval_accuracy": 0.8505747126436781, | |
| "eval_f1": 0.8497133253105775, | |
| "eval_acc_I-IV": 0.696969696969697, | |
| "eval_acc_IX-X": 0.8571428571428571, | |
| "eval_acc_V-VI": 0.8571428571428571, | |
| "eval_acc_VII-VII": 0.9574468085106383, | |
| "eval_acc_XI- XII": 0.8387096774193549, | |
| "eval_runtime": 42.2949, | |
| "eval_samples_per_second": 4.114, | |
| "eval_steps_per_second": 0.26, | |
| "epoch": 13.0 | |
| } |