-
I implement each step of image generation, so interpolation is possible at any stage.
- prompt tokenization
- raw word embedding
- prompt embedding
- denozing
-
image generation from a prompt
-
images generation along with {
linear, ... }interpolation between {prompt, } embedding
- You have to prepare the environment.
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 pip install diffusers["torch"] transformers pip install accelerate - You can run programs.
- You are available to generate image from a prompt.
python single.py --prompt "a dog playing with ball" - You are also available to generate few images along with linear interpolation.
python interp.py --prompt_a "Only an apple" --prompt_b "ten apples"
- You are available to generate image from a prompt.
