Instructions to use nitrosocke/classic-anim-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use nitrosocke/classic-anim-diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("nitrosocke/classic-anim-diffusion", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit History
-
Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`.
Hey nitrosocke 👋, Your model repository seems to contain logic to load a feature extractor that is deprecated, which you should notice by seeing the warning: ``` transformers/models/clip/feature_extraction_clip.py:28: FutureWarning: The class CLIPFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please use CLIPImageProcessor instead. warnings.warn( ``` when running `pipe = DiffusionPipeline.from_pretrained(nitrosocke/classic-anim-diffusion)`.This PR makes sure that the warning does not show anymore by replacing `CLIPFeatureExtractor` with `CLIPImageProcessor`. This will certainly not change or break your checkpoint, but onlymake sure that everything is up to date. Best, the 🧨 Diffusers team.79f6c86
-
Add `scale_factor` to vae config. (#15)
- Add `scale_factor` to vae config. (68ef84f5492466e97a6378a391c2d3e7cfe44c49) Co-authored-by: Suraj Patil <valhalla@users.noreply.huggingface.co>91a8a13
-
Add `clip_sample=False` to scheduler to make model compatible with DDIM. (#13)
- Add `clip_sample=False` to scheduler to make model compatible with DDIM. (dedfa7e555f7e98dca5e900a6c2a2dc66da9b6c0) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>50f65cf
-
Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default (#11)
- Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default (2588f0894cf67701729d6c9c8c73b217cb018d40) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>19af724
-
Add diffusers model (#8)
- add diffusers weights (ab155697c61e0b4c01045f9cceda03e1dbdc888c) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>1390152
-
add tags for discoverability (#2)
- add tags for discoverability (3a445347157a4da1109f27eaa1d60ac41e34845b) Co-authored-by: 🤗 <clem@users.noreply.huggingface.co>6e5f0e8 -
Update README.md
b2affc9 -
Upload 3 files
c388be3 -
Upload classicAnim-v1.ckpt
5ddb5b5 -
initial commit
8303fad