Instructions to use LiXiY/ReferenceAnomaly with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use LiXiY/ReferenceAnomaly with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("LiXiY/ReferenceAnomaly", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download reference_anomaly_checkponint.bin from LiXiY/ReferenceAnomaly: direct link, hf CLI and curl.
- Browser
- Download file 748 MB
-
https://huggingface.co/LiXiY/ReferenceAnomaly/resolve/main/reference_anomaly_checkponint.bin
- Command line
-
hf download hf://LiXiY/ReferenceAnomaly/reference_anomaly_checkponint.bin
-
curl -L -o reference_anomaly_checkponint.bin https://huggingface.co/LiXiY/ReferenceAnomaly/resolve/main/reference_anomaly_checkponint.bin
748 MB
- Xet hash:
- 746568cd41d89aa449734d21864cf8efa726f9e7f64e253ac118185fb0b4b3b9
- Size of remote file:
- 748 MB
- SHA256:
- 62646b5c3317576aa72adfd0b3a5ae34a07b1a56f8419ba448ec556e659debe8
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.