Instructions to use 17939225/feature_extractor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use 17939225/feature_extractor with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("17939225/feature_extractor", dtype=torch.bfloat16, device_map="cuda") prompt = "A high tech solarpunk utopia in the Amazon rainforest" 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 17939225 👋, 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(17939225/feature_extractor)`.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.44e5d23
-
Upload model_index.json
4c1c748 -
Rename model_index.json to resolve/fp16/model_index.json
e13fc4e
-
Upload diffusion_pytorch_model.bin
0bdfcac -
Rename config.json to vae/config.json
3b9c915 -
Upload config.json
a236d3e -
Upload diffusion_pytorch_model.bin
003419c -
Rename config.json to unet/config.json
270782d -
Upload config.json
d0b4a0f -
Upload 3 files
d68abbe -
Delete merges.txt
a8dea0b -
Rename tokenizer_config.json to tokenizer/tokenizer_config.json
4a1fe5b -
Upload tokenizer_config.json
eb00195 -
Upload merges.txt
d9c13d9 -
Delete pytorch_model.bin
59a1ee4 -
Upload pytorch_model.bin
a20dde3 -
Rename config.json to text_encoder/config.json
7c039e7 -
Upload 2 files
b0c0430 -
Rename scheduler_config-checkpoint.json to scheduler/.ipynb_checkpoints/scheduler_config-checkpoint.json
6db48c4 -
Rename scheduler_config.json to scheduler/scheduler_config.json
508fa76 -
Upload 2 files
3e978c4 -
Delete pytorch_model.bin
e2ba0da -
Upload pytorch_model.bin
86bd728 -
Rename config.json to safety_checker/config.json
3337a81 -
Upload 2 files
399980f -
Rename preprocessor_config.json to feature_extractor/preprocessor_config.json
de89780 -
Upload preprocessor_config.json
b8beeba -
Delete feature_extractor
870a24c -
Create feature_extractor
e62a95b -
Upload 4 files
95137c9 -
initial commit
7045115