Instructions to use nielsr/focalnet-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nielsr/focalnet-tiny with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="nielsr/focalnet-tiny") 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("nielsr/focalnet-tiny") model = AutoModelForImageClassification.from_pretrained("nielsr/focalnet-tiny") - Notebooks
- Google Colab
- Kaggle
Upload FocalNetForImageClassification
Browse files- pytorch_model.bin +2 -2
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e0581238c22e5861094b7878e5127d2598da9918de28266994a8869b5554b9a2
|
| 3 |
+
size 113779869
|