Instructions to use itsTomLie/Jaundice_Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use itsTomLie/Jaundice_Classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="itsTomLie/Jaundice_Classifier") 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("itsTomLie/Jaundice_Classifier") model = AutoModelForImageClassification.from_pretrained("itsTomLie/Jaundice_Classifier") - Notebooks
- Google Colab
- Kaggle
Update preprocessor_config.json
Browse files- preprocessor_config.json +2 -2
preprocessor_config.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"do_resize": true,
|
| 3 |
"size": {
|
| 4 |
-
"height":
|
| 5 |
-
"width":
|
| 6 |
},
|
| 7 |
"resample": 2,
|
| 8 |
"do_center_crop": true,
|
|
|
|
| 1 |
{
|
| 2 |
"do_resize": true,
|
| 3 |
"size": {
|
| 4 |
+
"height": 224,
|
| 5 |
+
"width": 224
|
| 6 |
},
|
| 7 |
"resample": 2,
|
| 8 |
"do_center_crop": true,
|