Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

google colab 本地服务都用不了咯 #33

Open
raindropLiu opened this issue Aug 13, 2023 · 5 comments
Open

google colab 本地服务都用不了咯 #33

raindropLiu opened this issue Aug 13, 2023 · 5 comments

Comments

@raindropLiu
Copy link

File "/usr/local/lib/python3.10/dist-packages/cfcreator/common.py", line 200, in init_sd
m.prepare_control_defaults()
AttributeError: 'ControlledDiffusionAPI' object has no attribute 'prepare_control_defaults'

Application startup failed. Exiting.

试了很多版本都不行了

image

@carefree0910
Copy link
Owner

哈哈哈这是我的问题,又忘了发版了,今天我去把版本更新一遍,然后把 colab 上的版本也更新一遍

不过目前已知的问题是 colab 很可能跑不通,因为现在我怼了很多算法上去,导致一般免费版 colab 的内存会不够用,我争取最近找机会弄个 flag 去解决这个问题 hhh

@carefree0910
Copy link
Owner

File "/usr/local/lib/python3.10/dist-packages/cfcreator/common.py", line 200, in init_sd m.prepare_control_defaults() AttributeError: 'ControlledDiffusionAPI' object has no attribute 'prepare_control_defaults'

Application startup failed. Exiting.

试了很多版本都不行了

image

我刚更新了一波版本,同时也在 colab 加了个 flag,现在应该能跑起来了,但跑的不是 SD 那一套,那一套太重了哈哈哈

以及我看你的 colab 里面锁了版本号,现在最新的是 0.2.9,所以可以锁 0.2.9 也可以不锁,这样就自动到最新版本了

@raindropLiu
Copy link
Author

File "/usr/local/lib/python3.10/dist-packages/cfcreator/common.py", line 200, in init_sd m.prepare_control_defaults() AttributeError: 'ControlledDiffusionAPI' object has no attribute 'prepare_control_defaults'
Application startup failed. Exiting.
试了很多版本都不行了
image

我刚更新了一波版本,同时也在 colab 加了个 flag,现在应该能跑起来了,但跑的不是 SD 那一套,那一套太重了哈哈哈

以及我看你的 colab 里面锁了版本号,现在最新的是 0.2.9,所以可以锁 0.2.9 也可以不锁,这样就自动到最新版本了

image

image
服务启动后,没有预期生成图片。可能colab 真跑不起来了😥
image

@carefree0910
Copy link
Owner

哈哈哈是这样的,现在 colab 默认情况下不会启动 SD 模型了(因为那一套太重了,免费 colab 跑不起来🤣),我在 colab 里还写了段说明来着

现在 colab 如果什么都不改直接跑起来的话,确实能用的功能会很少(产品上有的应该只剩图像高清和局部消除了),如果你能拿到更好的 colab 实例,可以尝试按照我在 colab 里的说明,改一改运行命令,这样的话 SD 系列的就也都能跑😉

@carefree0910
Copy link
Owner

你好,刚更新了一波版本,现在 colab 能跑基础的 SD 算法了(文生图,图生图),不过炫酷的功能可能还是跑不来,如果你还感兴趣的话可以试试哈哈哈 🤣

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants