They are all using AI to generate beautiful girls, but I am. . .

Recently, AI painting is very popular. You can see a lot of beautiful pictures from the Internet, so I started my installation journey. The pictures I saw are like this.

Such.

There are also such.

Then I started my AI installation generation plan.

Installation Environment

First of all, we need to install the Python environment, because this requires a graphics card, I guess my MAC is running, so install Python first: www.python.org/downloads/r ... It is best to check the automatic addition of environment variables when installing, Otherwise, you have to add it yourself.

Then go to install Git, everyone should have this, so I won’t say much.

Then go to install the stable-diffusion UI: github.com/AUTOMATIC11…

After all these are done, some additional files and models are needed. At present, you can see two popular models from the Internet: chilloutmix and Lora (including 18+ content, forget it...), download The documents can all be found at civitai.com/website .

  1. sd-v1-4.ckpt, download address: huggingface.co/CompVis/sta…
  2. chilloutmixModel, download address: civitai.com/models/6424…
  3. Korean-dollThe model is said to be a Korean beauty, download address: civitai.com/models/7448…
  4. GFPGANv1.4.pthFace optimization, download address: github.com/TencentARC/…

1 and 2 are placed in models/Stable-diffusionthe directory , 3 is placed in models/Lorathe directory, and the last one is placed in the root directory of the project.

start up

这些都下载好之后,就可以启动项目了,到项目根目录找到webui.bat启动,其他系统用webui.sh(应该就是这样)。

启动之后还会安装很多的依赖,我也不知道是干嘛的,装了一些之后发现卡住了,这个是因为他从 github 去拉代码超时了,对于 github 访问的问题,大家可以使用 github.com/dotnetcore/… 去处理,这个不是翻墙,貌似只是自动帮我们做个 DNS 解析,选择 IP。

这样一切准备就绪之后,就可以看到启动成功的提示信息了,直接访问127.0.0.1:7860就行了。

打开之后就是这样一个页面,接下来就可以去 AI 生成图片了。

这是啥?

然后我们进入上面说到的网站,随便找个二次元美少女,点进去找到右下角,复制数据。

然后点击这个斜着的箭头,就会自动填充参数,然后点击生成就可以了,生成的时间有的快有的慢,可能和他们模型训练有关系。

然后我就得到了这样一张图?????是不是哪里有了什么问题???

我觉得是不是这个模型我没下载,于是我换了一个我觉得应该是我下载过的模型又来了一次,嗯,就是这张带点恐怖的图,也很好看。

然后,我又得到了这样一张图。。。。不是,你这个嘴巴是被老公家暴了吗???总觉得画风相比原图过于简陋了啊。。。纯纯的从高冷风变成了沙雕风。。。

这些都不算,Lora 韩风美女总不会错了吧,我又找了一张图。

结果。。。。这次连像素都看不清楚了。。。

后来,我又不停地尝试了一会儿(当然了,18+的内容我一个都没有去尝试),然后我又得到了一些奇怪的图。。。。

比如这个奇怪的初音???这多出来的手突然就成了灵异风格。。。

还有我明明想要的是好看的蒂法,他应该长这样对吧。

结果到我这里就成了低配乡村版。。。这跟韩风美女貌似也没什么关系???

别人的图都长这样的

到我这里???又是个低配版!!!

总之,这个 AI 我总觉得不太对劲。。。

Guess you like

Origin juejin.im/post/7204380064279953465