Instructions to use Transform21/Godard_model_v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Transform21/Godard_model_v1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Transform21/Godard_model_v1", 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 Transform21 👋, 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(Transform21/Godard_model_v1)`.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.d42000c
-
Upload model.ckpt
e9a9a15 -
Delete epoch=000003.ckpt
0b4ef1a
-
Upload pokemon.yaml
6949b86 -
Upload 2 files
86c5560 -
Upload 2 files
aaa0909 -
Upload 4 files
4cd8e53 -
Upload 2 files
19a1b89 -
Upload scheduler_config.json
31b0ee9 -
Upload 2 files
00864da -
Upload preprocessor_config.json
49fcb20 -
Upload model_index.json
c1774cf
-
Upload epoch=000007.ckpt
e04aa1d
-
Upload epoch=000003.ckpt
83ff8b5 -
initial commit
4dfe019