打印

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

0
麻烦版主看一看是哪里的问题,删除第一行后可以生成网址,但是网址点不进去。而且No such file or directory这个报错还是存在

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   1225      0 --:--:-- --:--:-- --:--:--  1224
100 7346M  100 7346M    0     0   235M      0  0:00:31  0:00:31 --:--:--  227M
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1125  100  1125    0     0   1240      0 --:--:-- --:--:-- --:--:--  1240
100 10155  100 10155    0     0  10330      0 --:--:-- --:--:-- --:--:-- 10330
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1159  100  1159    0     0   1275      0 --:--:-- --:--:-- --:--:--  1273
100  144M  100  144M    0     0   103M      0  0:00:01  0:00:01 --:--:--  307M
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1165  100  1165    0     0   1284      0 --:--:-- --:--:-- --:--:--  1283
100  144M  100  144M    0     0   105M      0  0:00:01  0:00:01 --:--:--  105M
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1169  100  1169    0     0   1281      0 --:--:-- --:--:-- --:--:--  1280
100  144M  100  144M    0     0  86.8M      0  0:00:01  0:00:01 --:--:--  195M
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1169  100  1169    0     0   1297      0 --:--:-- --:--:-- --:--:--  1296
100  144M  100  144M    0     0   104M      0  0:00:01  0:00:01 --:--:--  275M
mkdir: cannot create directory ‘/content/stable-diffusion-webui/models/Lora’: File exists
mv: cannot stat '/content/koreanDollLikeness_v10.safetensors': No such file or directory
mv: cannot stat '/content/koreanDollLikeness_v15.safetensors': No such file or directory
mv: cannot stat '/content/japaneseDollLikeness_v10.safetensors': No such file or directory
mv: cannot stat '/content/taiwanDollLikeness_v10.safetensors': No such file or directory
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
HEAD is now at 91c8d0dc Merge pull request #7231 from EllangoK/master
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
2023-03-24 08:22:19.150995: 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 AVX512F FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-03-24 08:22:21.396615: 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/lib64-nvidia
2023-03-24 08:22:21.396773: 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/lib64-nvidia
2023-03-24 08:22:21.396812: 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.
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(1): ulzzang-6500
Model loaded in 29.2s (load weights from disk: 1.5s, create model: 1.3s, apply weights to model: 18.1s, apply half(): 1.2s, load VAE: 6.3s, move model to device: 0.6s).
Running on local URL:  http://127.0.0.1:7860
Running on public URL: https://803c5747-603b-4bd3.gradio.live

This share link expires in 72 hours. For free permanent hosting and GPU upgrades (NEW!), check out Spaces: https://huggingface.co/spaces

TOP

1
引用:
原帖由 1850482 于 2023-3-24 16:27 发表
麻烦版主看一看是哪里的问题,删除第一行后可以生成网址,但是网址点不进去。而且No such file or directory这个报错还是存在

fatal: destination path 'stable-diffusion-webui' already exists and is not an empty d ...
哦,明白了,你是不是之前按照第一个教程运行过一遍,然后后来又按照这个教程的指令运行了一遍?
你可以把Colab的网页关掉,让它断开连接,然后再重新打开,然后你在右上角选择连接,然后按照教程里的方法,在设置里打开显卡。
然后再把全部的安装指令复制过去运行一遍。

TOP

0
太赞了
附件: 您所在的用户组无法下载或查看附件
本帖最近评分记录
  • 内力煮火锅 金币 +3 感谢分享,论坛有您更精彩! 2023-3-24 20:29

TOP

0
引用:
原帖由 内力煮火锅 于 2023-3-24 16:50 发表

哦,明白了,你是不是之前按照第一个教程运行过一遍,然后后来又按照这个教程的指令运行了一遍?
你可以把Colab的网页关掉,让它断开连接,然后再重新打开,然后你在右上角选择连接,然后按照教程里的方法,在设置里打开显卡。
然后再 ...
试了一下还是不行,还是一样的报错

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.6)
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: 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)
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)
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  1137  100  1137    0     0   4242      0 --:--:-- --:--:-- --:--:--  4242
100 7346M  100 7346M    0     0   242M      0  0:00:30  0:00:30 --:--:--  248M
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1131  100  1131    0     0   4127      0 --:--:-- --:--:-- --:--:--  4127
100 10155  100 10155    0     0  29692      0 --:--:-- --:--:-- --:--:-- 29692
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
2023-03-24 13:22:44.857247: 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-24 13:22:47.477889: 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/lib64-nvidia
2023-03-24 13:22:47.478081: 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/lib64-nvidia
2023-03-24 13:22:47.478104: 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.
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(1): ulzzang-6500
Model loaded in 31.4s (load weights from disk: 1.5s, create model: 1.3s, apply weights to model: 19.8s, apply half(): 1.1s, load VAE: 7.1s, move model to device: 0.6s).
Running on local URL:  http://127.0.0.1:7860

这次网址都跑不出来了

TOP

1
引用:
原帖由 1850482 于 2023-3-24 21:27 发表



试了一下还是不行,还是一样的报错

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/p ...
点这里打开文件管理

把content文件夹里面除了sample_data以外的东西都删掉,只限于content文件夹里面的东西哈。

找不到content文件夹就点这个绿圈里的这个返回上一级文件夹按钮哈


[ 本帖最后由 内力煮火锅 于 2023-3-24 22:08(GMT+8) 编辑 ]
附件: 您所在的用户组无法下载或查看附件

TOP

0
引用:
原帖由 内力煮火锅 于 2023-3-24 22:06 发表

点这里打开文件管理
3938002
把content文件夹里面除了sample_data以外的东西都删掉,只限于content文件夹里面的东西哈。

找不到content文件夹就点这个绿圈里的这个返回上一级文件夹按钮哈
3938003 ...
多谢版主,现在程序可以跑了,但是又出了个问题,给了网址点进网站后是个空白页,不知道是啥问题。

Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Collecting fastapi==0.90.1
  Downloading fastapi-0.90.1-py3-none-any.whl (56 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.2/56.2 KB 3.2 MB/s eta 0:00:00
Collecting starlette<0.24.0,>=0.22.0
  Downloading starlette-0.23.1-py3-none-any.whl (64 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.5/64.5 KB 8.3 MB/s eta 0:00:00
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.6)
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)
Collecting anyio<5,>=3.4.0
  Downloading anyio-3.6.2-py3-none-any.whl (80 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.6/80.6 KB 12.0 MB/s eta 0:00:00
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)
Collecting sniffio>=1.1
  Downloading sniffio-1.3.0-py3-none-any.whl (10 kB)
Installing collected packages: sniffio, anyio, starlette, fastapi
Successfully installed anyio-3.6.2 fastapi-0.90.1 sniffio-1.3.0 starlette-0.23.1
Cloning into 'stable-diffusion-webui'...
remote: Enumerating objects: 17160, done.
remote: Total 17160 (delta 0), reused 0 (delta 0), pack-reused 17160
Receiving objects: 100% (17160/17160), 27.92 MiB | 38.79 MiB/s, done.
Resolving deltas: 100% (11999/11999), done.
Cloning into '/content/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser'...
remote: Enumerating objects: 143, done.
remote: Counting objects: 100% (34/34), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 143 (delta 25), reused 22 (delta 22), pack-reused 109
Receiving objects: 100% (143/143), 37.96 KiB | 1.41 MiB/s, done.
Resolving deltas: 100% (51/51), done.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1131  100  1131    0     0   8440      0 --:--:-- --:--:-- --:--:--  8440
100 7346M  100 7346M    0     0   230M      0  0:00:31  0:00:31 --:--:--  222M
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1125  100  1125    0     0   7120      0 --:--:-- --:--:-- --:--:--  7120
100 10155  100 10155    0     0  43583      0 --:--:-- --:--:-- --:--:-- 43583
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1173  100  1173    0     0   9164      0 --:--:-- --:--:-- --:--:--  9164
100  144M  100  144M    0     0   119M      0  0:00:01  0:00:01 --:--:--  167M
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1169  100  1169    0     0   9277      0 --:--:-- --:--:-- --:--:--  9204
100  144M  100  144M    0     0   110M      0  0:00:01  0:00:01 --:--:--  234M
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1169  100  1169    0     0   9132      0 --:--:-- --:--:-- --:--:--  9132
100  144M  100  144M    0     0   121M      0  0:00:01  0:00:01 --:--:--  211M
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1161  100  1161    0     0   9070      0 --:--:-- --:--:-- --:--:--  9070
100  144M  100  144M    0     0   111M      0  0:00:01  0:00:01 --:--:--  158M
/content/stable-diffusion-webui
Note: switching to '91c8d0d'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 91c8d0dc Merge pull request #7231 from EllangoK/master
Python 3.9.16 (main, Dec  7 2022, 01:11:51)
[GCC 9.4.0]
Commit hash: 91c8d0dcfc9a5d46aec47fd3eb34c633c104b5bb
Installing gfpgan
Installing clip
Installing open_clip
Installing xformers
Cloning Stable Diffusion into repositories/stable-diffusion-stability-ai...
Cloning Taming Transformers into repositories/taming-transformers...
Cloning K-diffusion into repositories/k-diffusion...
Cloning CodeFormer into repositories/CodeFormer...
Cloning BLIP into repositories/BLIP...
Installing requirements for CodeFormer
Installing requirements for Web UI
Launching Web UI with arguments: --share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension-access
2023-03-24 15:47:28.932395: 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-24 15:47:32.100381: 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/lib64-nvidia
2023-03-24 15:47:32.100731: 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/lib64-nvidia
2023-03-24 15:47:32.100760: 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.
Calculating sha256 for /content/stable-diffusion-webui/models/Stable-diffusion/chilloutmixni.safetensors: 7234b76e423f010b409268386062a4111c0da6adebdf3a9b1a825937bdf17683
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.
Downloading (…)olve/main/vocab.json: 100% 961k/961k [00:00<00:00, 7.02MB/s]
Downloading (…)olve/main/merges.txt: 100% 525k/525k [00:00<00:00, 4.48MB/s]
Downloading (…)cial_tokens_map.json: 100% 389/389 [00:00<00:00, 146kB/s]
Downloading (…)okenizer_config.json: 100% 905/905 [00:00<00:00, 372kB/s]
Downloading (…)lve/main/config.json: 100% 4.52k/4.52k [00:00<00:00, 640kB/s]
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(1): ulzzang-6500
Model loaded in 78.4s (calculate hash: 45.7s, load weights from disk: 1.6s, create model: 2.7s, apply weights to model: 19.5s, apply half(): 1.2s, load VAE: 7.0s, move model to device: 0.6s).
Checkpoint chilloutmixni.safetensors [7234b76e42] not found; loading fallback chilloutmixni.safetensors [7234b76e42]
Running on local URL:  http://127.0.0.1:7860
Running on public URL: https://b6cabd88-3076-4fb0.gradio.live

This share link expires in 72 hours. For free permanent hosting and GPU upgrades (NEW!), check out Spaces: https://huggingface.co/spaces

TOP

0
请问有没方法将分辨率提升?目前768x1024都比较稳定,如果用高清修复拉高分辨率,画面很容易就崩了

TOP

0
这个能做到两人吗?一人脱衣一人穿衣的效果,我试的要不两个都脱,要不两个都穿。而且同时两个人时,立绘的颜值也减半了

TOP

1
引用:
原帖由 iGreed 于 2023-3-25 07:50 发表
这个能做到两人吗?一人脱衣一人穿衣的效果,我试的要不两个都脱,要不两个都穿。而且同时两个人时,立绘的颜值也减半了
viewthread.php?tid=11593536&page=1#pid111738567
我昨天看到这个帖子里有教两个人的提示词怎么写

TOP

1
引用:
原帖由 152853439712282 于 2023-3-25 00:48 发表
请问有没方法将分辨率提升?目前768x1024都比较稳定,如果用高清修复拉高分辨率,画面很容易就崩了
谷歌免费给的运算资源差不多就是这么大了。
要么就得自己架设,用自己的显卡了。

TOP

当前时区 GMT+8, 现在时间是 2024-5-8 12:14