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