Instructions to use WinKawaks/SketchXAI-Base-QuickDraw345 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WinKawaks/SketchXAI-Base-QuickDraw345 with Transformers:
# Load model directly from transformers import AutoImageProcessor, ViTForSketchClassification processor = AutoImageProcessor.from_pretrained("WinKawaks/SketchXAI-Base-QuickDraw345") model = ViTForSketchClassification.from_pretrained("WinKawaks/SketchXAI-Base-QuickDraw345") - Notebooks
- Google Colab
- Kaggle
Import issues
#1
by FilzahAmjad - opened
from transformers import AutoFeatureExtractor, ViTForSketchClassification
ImportError: cannot import name 'ViTForSketchClassification' from 'transformers' (/Users/filzahamjad/anaconda3/lib/python3.11/site-packages/transformers/init.py)
Hi @FilzahAmjad , my code is here. My model isn't famous enough to be merged into the official transformers code... :)
WinKawaks changed discussion status to closed