Instructions to use Bazaar/cv_chinese_medicine_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Bazaar/cv_chinese_medicine_classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Bazaar/cv_chinese_medicine_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("Bazaar/cv_chinese_medicine_classification") model = AutoModelForImageClassification.from_pretrained("Bazaar/cv_chinese_medicine_classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
435fc3b | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:c83e26c79f905d61d83474a46bc7ae85fee088da83d6c5449dfcaad3857db352
size 118094
|