赞
踩
参考链接:
下载链接:
https://download.pytorch.org/whl/cu117/torch-1.13.1%2Bcu117-cp310-cp310-win_amd64.whl
pip install torch -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
设置Python装包镜像源:
https://zhuanlan.zhihu.com/p/573955401
pip install -i https://pypi.douban.com/simple torchvision==0.14.0
.\python.exe -m pip install .\torch-1.13.1+cu117-cp310-cp310-win_amd64.whl
参考链接:
https://blog.csdn.net/jinnaluo0/article/details/129907577
.\python.exe -m pip install gfpgan -i https://pypi.douban.com/simple
- .\python.exe -m pip install clip -i https://pypi.douban.com/simple
-
- .\python.exe -m pip install git+https://github.com/mlfoundations/open_clip.git@bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b --prefer-binary -i https://pypi.douban.com/simple --trusted-host pypi.douban.com
参考链接:
https://blog.csdn.net/qq_41234663/article/details/129783216
https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors
https://huggingface.co/runwayml/stable-diffusion-v1-5
a photo of an astronaut riding a horse on mars
参考链接:
https://blog.csdn.net/snans/article/details/130208216
- high quality, photorealistic, icon,
- white background,
- (1cabbage),(wheat),(grains),(1tomato),(1ham),(1yellow_tomato),(3meat:1.4),(1eggplant)
nvidia-smi
https://developer.nvidia.com/cuda-toolkit-archive
nvcc -V
参考链接:
https://blog.csdn.net/Elon15/article/details/125678410
(masterpiece:1,2), best quality, masterpiece, highres, original, extremely detailed wallpaper, perfect lighting,(extremely detailed CG:1.2), drawing, paintbrush,looking at viewer, close-up, upper body,
NSFW, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, (ugly:1.331), (duplicate:1.331), (morbid:1.21), (mutilated:1.21), (tranny:1.331), mutated hands, (poorly drawn hands:1.5), blurry, (bad anatomy:1.21), (bad proportions:1.331), extra limbs, (disfigured:1.331), (missing arms:1.331), (extra legs:1.331), (fused fingers:1.61051), (too many fingers:1.61051), (unclear eyes:1.331), lowers, bad hands, missing fingers, extra digit,bad hands, missing fingers, (((extra arms and legs))),
- -----> !!!! The file is most likely corrupted !!!! <-----
- You can skip this check with --disable-safe-unpickle commandline argument, but that is not going to help you.
解决办法:
set COMMANDLINE_ARGS= --lowvram --precision full --no-half --disable-safe-unpickle
RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory
参考链接:
github页面, 可以下载需要的文件:
https://github.com/sczhou/CodeFormer/releases/tag/v0.1.0
删除这个文件:
英文 | 汉语解释 |
Prompt | 正向提示词 |
negative prompt | 反向提示词 |
Sampling steps | 生成迭代步数 |
CFG Scale | 画家自由度 |
Extras | 优化 |
正向提示词:
A girl, looking at viewer, close-up, upper body,in the forest, the sun fell on her body, (masterpiece:1,2), best quality, masterpiece, highres, original, extremely detailed wallpaper, perfect lighting,(extremely detailed CG:1.2), drawing, paintbrush,
反向提示词:
- Negative prompt: NSFW, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, (ugly:1.331), (duplicate:1.331), (morbid:1.21), (mutilated:1.21), (tranny:1.331), mutated hands, (poorly drawn hands:1.5), blurry, (bad anatomy:1.21), (bad proportions:1.331), extra limbs, (disfigured:1.331), (missing arms:1.331), (extra legs:1.331), (fused fingers:1.61051), (too many fingers:1.61051), (unclear eyes:1.331), lowers, bad hands, missing fingers, extra digit,bad hands, missing fingers, (((extra arms and legs))),
-
配置:
正:
A girl, looking at me, close-up, upper body,in the forest, the sun fell on her body, (masterpiece:1,2), best quality, masterpiece, highres, original, extremely detailed wallpaper, perfect lighting,(extremely detailed CG:1.2), drawing, paintbrush,
反:
NSFW, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, (ugly:1.331), (duplicate:1.331), (morbid:1.21), (mutilated:1.21), (tranny:1.331), mutated hands, (poorly drawn hands:1.5), blurry, (bad anatomy:1.21), (bad proportions:1.331), extra limbs, (disfigured:1.331), (missing arms:1.331), (extra legs:1.331), (fused fingers:1.61051), (too many fingers:1.61051), (unclear eyes:1.331), lowers, bad hands, missing fingers, extra digit,bad hands, missing fingers, (((extra arms and legs))),
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。