created: 2022-09-10 updated: 2022-09-10
I found and read an article about using AI for drawing. It piques my interest, so I decide to give it a try.
I don't know much about the theory or implementation of model training.
- Clone Github repo
- Use conda to install
conda env create -f environment.yaml
conda activate ldm
- Download model file
- Rename file to
- Put the file in
I draw this:
Run this script:
python optimizedSD\optimized_img2img.py --init-img C:\Users\V\Pictures\draft.png --strength 0.8 --n_samples 5 --H 512 --W 512 --n_iter 1 --precision full --prompt "A tree. A pond with 2 fishes. Cloudy sky at sunrise. Raining. Hyper realistic."
I got back these:
They are clearly better than my drawing, but not as good as examples I found on the internet.
- [[Machine Learning]]