MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    本地搭建NovelAi (免费的色图生成器,可用colab在线运行)

    技术交流板块
    novelai ai 图像生成 色图
    47
    226
    84877
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Colter23
      Colter23 @SYLLABARY last edited by

      @SYLLABARY 额,图没传上来(

      S 1 Reply Last reply Reply Quote 0
      • S
        SYLLABARY @Colter23 last edited by

        阿哲,
        报错.png
        现在有了吗

        Colter23 1 Reply Last reply Reply Quote 0
        • R
          RyanKo @Colter23 last edited by RyanKo

          @Colter23 358f07d5-33a5-429b-954d-8f9ef0dc6541-image.png
          ccd720c2-0556-47dd-9d67-9f38641a6e54-image.png

          沒什麼基礎,研究了下,不知道這樣對不對,給大佬批個作業?
          謝謝

          Colter23 1 Reply Last reply Reply Quote 0
          • Colter23
            Colter23 @SYLLABARY last edited by

            @SYLLABARY 你确定你的git可以正常使用吗,你手动 git clone 一个项目试试

            S 1 Reply Last reply Reply Quote 0
            • Colter23
              Colter23 @RyanKo last edited by

              @RyanKo 嗯,其实你可以直接写在 webui-user.bat 里

              1 Reply Last reply Reply Quote 0
              • S
                SYLLABARY @Colter23 last edited by

                @Colter23 整好了,防火墙的锅……多谢分享
                btw,有办法改url吗

                S 1 Reply Last reply Reply Quote 0
                • S
                  SYLLABARY @SYLLABARY last edited by

                  解决了,
                  没仔细看文档,我是铸币

                  1 Reply Last reply Reply Quote 0
                  • М
                    Маджищикува last edited by

                    佬,colab上部署出来的网站打开是空白,为什么啊qwq

                    /content/stable-diffusion-webui
                    Python 3.7.14 (default, Sep 8 2022, 00:06:44)
                    [GCC 7.5.0]
                    Commit hash: e644b5a80beb54b6df4caa63fb19d889dd4ceff6
                    Installing requirements for Web UI
                    Launching Web UI with arguments: --share --gradio-debug
                    LatentDiffusion: Running in eps-prediction mode
                    DiffusionWrapper has 859.52 M params.
                    making attention of type 'vanilla' with 512 in_channels
                    Working with z of shape (1, 4, 64, 64) = 16384 dimensions.
                    making attention of type 'vanilla' with 512 in_channels
                    Loading weights [925997e9] from /content/stable-diffusion-webui/models/Stable-diffusion/animefull-final-pruned.ckpt
                    Applying cross attention optimization (Doggettx).
                    Model loaded.
                    Loaded a total of 0 textual inversion embeddings.
                    Running on local URL: http://127.0.0.1:7860
                    Running on public URL: https://11964.gradio.app

                    This share link expires in 72 hours. For free permanent hosting, check out Spaces: https://huggingface.co/spaces

                    1 Reply Last reply Reply Quote 0
                    • М
                      Маджищикува last edited by

                      而且我每次点安装依赖之后都会显示
                      Installing requirements for Web UI
                      最后运行的时候也会再来一遍Installing requirements for Web UI
                      我怀疑是不是因为这玩意安装一直成功不了

                      Colter23 1 Reply Last reply Reply Quote 0
                      • Colter23
                        Colter23 @Маджищикува last edited by

                        @Маджищикува 可能是用的人太多了,gradio分配不大过来了,多试几次。

                        那个提示不用管啊,又不是报错,要是没安成功根本就启动不了。只是启动过程中的一个调试信息而已。

                        1 Reply Last reply Reply Quote 0
                        • 9
                          954386273 last edited by

                          可以帮我看看这个什么问题吗
                          venv "E:\Git here\stable-diffusion-webui\venv\Scripts\Python.exe"
                          Python 3.10.7 (tags/v3.10.7:6cc6b13, Sep 5 2022, 14:08:36) [MSC v.1933 64 bit (AMD64)]
                          Commit hash: cc5803603b8591075542d99ae8596ab5b130a82f
                          Fetching updates for CodeFormer...
                          Checking out commint for CodeFormer with hash: c5b4593074ba6214284d6acd5f1719b6c5d739af...
                          Traceback (most recent call last):
                          File "E:\Git here\stable-diffusion-webui\launch.py", line 168, in <module>
                          prepare_enviroment()
                          File "E:\Git here\stable-diffusion-webui\launch.py", line 146, in prepare_enviroment
                          git_clone("https://github.com/sczhou/CodeFormer.git", repo_dir('CodeFormer'), "CodeFormer", codeformer_commit_hash)
                          File "E:\Git here\stable-diffusion-webui\launch.py", line 79, in git_clone
                          run(f'"{git}" -C {dir} checkout {commithash}', f"Checking out commint for {name} with hash: {commithash}...", f"Couldn't checkout commit {commithash} for {name}")
                          File "E:\Git here\stable-diffusion-webui\launch.py", line 32, in run
                          raise RuntimeError(message)
                          RuntimeError: Couldn't checkout commit c5b4593074ba6214284d6acd5f1719b6c5d739af for CodeFormer.
                          Command: "git" -C repositories\CodeFormer checkout c5b4593074ba6214284d6acd5f1719b6c5d739af
                          Error code: 128
                          stdout: <empty>
                          stderr: fatal: reference is not a tree: c5b4593074ba6214284d6acd5f1719b6c5d739af

                          Colter23 1 Reply Last reply Reply Quote 0
                          • Colter23
                            Colter23 @954386273 last edited by

                            @954386273 先确保你的git可以正常使用

                            9 3 Replies Last reply Reply Quote 0
                            • 9
                              954386273 @Colter23 last edited by

                              @Colter23 没问题,我前面的步骤git了很多东西下来了

                              1 Reply Last reply Reply Quote 0
                              • 9
                                954386273 @Colter23 last edited by

                                @Colter23 我现在改到colab上面运行试试,之前还没试过,在等它上传到Google云盘,还要两个多小时

                                1 Reply Last reply Reply Quote 0
                                • 9
                                  954386273 @Colter23 last edited by

                                  @Colter23 我现在colab上面运行成功了,很快乐,不过想问一下,这个会受外界影响吗,跟本地版有没有区别,我是不是每次都要在colab上面启动

                                  Colter23 1 Reply Last reply Reply Quote 0
                                  • Colter23
                                    Colter23 @954386273 last edited by

                                    @954386273 都一样,colab就是临时分配给你一台电脑而已,跟本地一样,不过colab上只能加载小模型,效果可能会差一些。如果你自己的显卡还不错,还是建议自己搭。关于git的问题,如果你的网络通畅的话,建议直接运行webui-user.bat安装依赖,不要手动安装那些库。

                                    9 1 Reply Last reply Reply Quote 0
                                    • 9
                                      954386273 @Colter23 last edited by

                                      @Colter23 我一开始就是用webui-user.bat,然后失败了,于是我手动下载了包括cuda,依赖,模型这些,然后再跑还是出问题(这里就是我上面一开始发的报错信息),话说如果在cloab加载大模型会怎么样?加载失败吗?

                                      Colter23 1 Reply Last reply Reply Quote 0
                                      • Colter23
                                        Colter23 @954386273 last edited by

                                        @954386273 一开始啥错。cloab上跑大模型会爆内存,就直接给你停了。

                                        1 Reply Last reply Reply Quote 0
                                        • Colter23
                                          Colter23 last edited by

                                          @954386273 一开始啥错。cloab上跑大模型会爆内存,就直接给你停了。

                                          9 1 Reply Last reply Reply Quote 0
                                          • 9
                                            954386273 @Colter23 last edited by

                                            @Colter23 RuntimeError: Couldn't checkout commit c5b4593074ba6214284d6acd5f1719b6c5d739af for CodeFormer.
                                            Command: "git" -C repositories\CodeFormer checkout c5b4593074ba6214284d6acd5f1719b6c5d739af
                                            Error code: 128
                                            stdout: <empty>
                                            stderr: fatal: reference is not a tree: c5b4593074ba6214284d6acd5f1719b6c5d739af

                                            Colter23 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 9 / 12
                                            • First post
                                              Last post
                                            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact