Instructions to use spicecloud/spice-cnn-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use spicecloud/spice-cnn-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="spicecloud/spice-cnn-base", trust_remote_code=True) pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForImageClassification model = AutoModelForImageClassification.from_pretrained("spicecloud/spice-cnn-base", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.b719e3c
-
Upload model
c0f0040 -
Upload processor
d2fb437 -
Upload model
ba8f5f5 -
Upload processor
f777af7 -
Upload model
267c11c -
Upload processor
4bae47f -
Upload model
8c00d37 -
Upload processor
8405924 -
Upload model
c586d77 -
Upload processor
91af153 -
Upload model
0c12714 -
Upload processor
e54fec1
-
Upload model
bfa394a -
Upload processor
8488c63 -
Upload model
707f7d0 -
Upload processor
9976f64
-
Upload model
cb3238b -
Upload processor
b21a5a9 -
Upload model
bf07f63 -
Upload processor
0ddb165 -
Upload model
aa4a9d0 -
Upload processor
6f57bec -
Upload model
56ae1f2 -
Upload processor
cfc36bc -
Upload model
813a394 -
Upload processor
9483a11 -
Upload model
63bf6f8 -
Upload processor
24003ab -
Upload model
eaa3b89 -
Upload processor
9066370 -
Upload model
4fedd23 -
Upload processor
a533627 -
Upload model
250facf -
Upload processor
fd5a709 -
Upload model
d08594a -
Upload processor
893e284 -
Upload model
47611ed -
Upload processor
9863310 -
Upload model
4533e20 -
Upload processor
dcd84f0 -
Upload model
b4f3080 -
Upload processor
b96c646 -
Upload processor
eea38d7 -
Upload processor
10ab504 -
Upload model
9608863 -
Upload processor
aaa7353 -
Upload model
ccdba0d -
Upload processor
5299027
-
Upload model
b47d68f