Views
No views yet

1from transformers import pipeline
2
3# Load the model from the Hugging Face Hub
4classifier = pipeline("image-classification", model="VRJBro/skin-cancer-detection")
5
6# Example usage
7image_path = "path_to_your_image.jpg"
8result = classifier(image_path)
9print(result)sparse_categorical_crossentropy to handle the multi-class classification problem.@inproceedings{vrjbro_skin_cancer_detection,
title={Skin Cancer Detection Model},
author={VRJBro},
year={2024},
howpublished={\url{https://huggingface.co/VRJBro/skin-cancer-detection}},
}