打印

[教程] 1. 新手进阶版入门教程:让AI小姐姐为你脱掉汉服,分开双腿(不需要显卡)[20P]

1
牛逼的起飞的帖子,真是震惊到我了。

TOP

0
回去试试

TOP

0
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Requirement already satisfied: fastapi==0.90.1 in /usr/local/lib/python3.9/dist-packages (0.90.1)
Requirement already satisfied: pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2 in /usr/local/lib/python3.9/dist-packages (from fastapi==0.90.1) (1.10.7)
Requirement already satisfied: starlette<0.24.0,>=0.22.0 in /usr/local/lib/python3.9/dist-packages (from fastapi==0.90.1) (0.23.1)
Requirement already satisfied: typing-extensions>=4.2.0 in /usr/local/lib/python3.9/dist-packages (from pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2->fastapi==0.90.1) (4.5.0)
Requirement already satisfied: anyio<5,>=3.4.0 in /usr/local/lib/python3.9/dist-packages (from starlette<0.24.0,>=0.22.0->fastapi==0.90.1) (3.6.2)
Requirement already satisfied: sniffio>=1.1 in /usr/local/lib/python3.9/dist-packages (from anyio<5,>=3.4.0->starlette<0.24.0,>=0.22.0->fastapi==0.90.1) (1.3.0)
Requirement already satisfied: idna>=2.8 in /usr/local/lib/python3.9/dist-packages (from anyio<5,>=3.4.0->starlette<0.24.0,>=0.22.0->fastapi==0.90.1) (3.4)
fatal: destination path 'stable-diffusion-webui' already exists and is not an empty directory.
fatal: destination path '/content/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser' already exists and is not an empty directory.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1129  100  1129    0     0   4003      0 --:--:-- --:--:-- --:--:--  4003
100 7346M  100 7346M    0     0   196M      0  0:00:37  0:00:37 --:--:--  210M
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1127  100  1127    0     0   3954      0 --:--:-- --:--:-- --:--:--  3940
100 10155  100 10155    0     0  27821      0 --:--:-- --:--:-- --:--:-- 27821
mv: cannot stat '/content/chilloutmixni.safetensors': No such file or directory
mv: cannot stat '/content/ulzzang-6500.pt': No such file or directory
/content/stable-diffusion-webui
Python 3.9.16 (main, Dec  7 2022, 01:11:51)
[GCC 9.4.0]
Commit hash: 91c8d0dcfc9a5d46aec47fd3eb34c633c104b5bb
Installing xformers
Installing requirements for Web UI
Launching Web UI with arguments: --share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension-access
Warning: caught exception 'No CUDA GPUs are available', memory monitor disabled
2023-03-27 15:04:56.603685: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-03-27 15:04:59.487051: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/lib/python3.9/dist-packages/cv2/../../lib64:/usr/local/nvidia/lib:/usr/local/nvidia/lib64
2023-03-27 15:04:59.487382: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/lib/python3.9/dist-packages/cv2/../../lib64:/usr/local/nvidia/lib:/usr/local/nvidia/lib64
2023-03-27 15:04:59.487414: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
Loading weights [7234b76e42] from /content/stable-diffusion-webui/models/Stable-diffusion/chilloutmixni.safetensors
Creating model from config: /content/stable-diffusion-webui/configs/v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
loading stable diffusion model: RuntimeError
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/webui.py", line 103, in initialize
    modules.sd_models.load_model()
  File "/content/stable-diffusion-webui/modules/sd_models.py", line 406, in load_model
    sd_hijack.model_hijack.hijack(sd_model)
  File "/content/stable-diffusion-webui/modules/sd_hijack.py", line 107, in hijack
    self.optimization_method = apply_optimizations()
  File "/content/stable-diffusion-webui/modules/sd_hijack.py", line 39, in apply_optimizations
    if cmd_opts.force_enable_xformers or (cmd_opts.xformers and shared.xformers_available and torch.version.cuda and (6, 0) <= torch.cuda.get_device_capability(shared.device) <= (9, 0)):
  File "/usr/local/lib/python3.9/dist-packages/torch/cuda/__init__.py", line 357, in get_device_capability
    prop = get_device_properties(device)
  File "/usr/local/lib/python3.9/dist-packages/torch/cuda/__init__.py", line 371, in get_device_properties
    _lazy_init()  # will define _get_device_properties
  File "/usr/local/lib/python3.9/dist-packages/torch/cuda/__init__.py", line 229, in _lazy_init
    torch._C._cuda_init()
RuntimeError: No CUDA GPUs are available


Stable diffusion model failed to load, exiting

楼主能帮我看看哪里的问题,谢谢您,我是苹果电脑IMAC

[ 本帖最后由 susuhao 于 2023-3-27 23:11(GMT+8) 编辑 ]

TOP

0
引用:
原帖由 susuhao 于 2023-3-27 23:10 发表
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Requirement already satisfied: fastapi==0.90.1 in /usr/local/lib/python3.9/dist-packages (0.90.1)
Req ...
你看看是不是下面这个原因:
引用:
原帖由 小小丁丁 于 2023-3-25 16:53 发表
这里做个提示,MacBook的M芯片系列电脑不用尝试了,它是ARM架构的GPU,不支持CUDA GPU,安装不了
另外,如果你不是本地部署,而是在线部署的话,那就跟自己的电脑的型号没关系了,这种情况就要看一下有没有在colab的设置里把白嫖谷歌的显卡算力资源打开。

[ 本帖最后由 内力煮火锅 于 2023-3-28 10:15(GMT+8) 编辑 ]

TOP

0
楼主,我想问一下,提示词是随便什么英文么?还是有固定的提示词。另外加双括号是什么意思,是优先级提高还是变低啊,我弄了几个词都没什么太大的效果,而且我生成的图像都是半身的,我想要全身的。

TOP

0
引用:
原帖由 asgardv 于 2023-3-28 11:27 发表
楼主,我想问一下,提示词是随便什么英文么?还是有固定的提示词。另外加双括号是什么意思,是优先级提高还是变低啊,我弄了几个词都没什么太大的效果,而且我生成的图像都是半身的,我想要全身的。 ...
理论上所有的词都是可以的,看AI对语言文字的理解程度了。
圆括号是加权,方括号是降权,我的前一篇教程的最后简单介绍了一下提示词的语法规则。
提示词没什么用有可能是权重不够,也可能是AI对这个词不太理解,还可能是提示词太多了AI照顾不过来了。
想要下半身你的提示词里就要提到下半身,你可以描述一个身体部位,或者描述一个姿势。
全身也是一样,你要描述一下身体的样子,或者一个涉及到全身的姿势。

TOP

0
要是都像楼主这样出教程,我TM早就博士毕业了!
跪赞!

TOP

0
楼主能否开的帖子教教我们怎么弄真人头像啊,我对这个比较好奇。

TOP

0
引用:
原帖由 susuhao 于 2023-3-27 23:10 发表
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Requirement already satisfied: fastapi==0.90.1 in /usr/local/lib/python3.9/dist-packages (0.90.1)
Req ...
打开colab页面后,在左上方有个修改,点那里,配置下笔记本,选择GPU,在运行代码安装应该就可以了

TOP

0
大佬真多,这肯定不是业余的,主业绝对NB,萌新瑟瑟发抖,搞个VAM我都哆哆嗦嗦,编程还是算了吧

TOP

当前时区 GMT+8, 现在时间是 2024-5-20 00:53