Stable Diffusion V1.4 エラー:TypeError: getattr(): attribute name must be string

アバター画像 お母ちゃん  2022.12.7 
Home > Advent Calendar > Stable Diffusion V1.4 エラー:TypeError: getattr(): attribute name must be string
すき 2
うんこ 0

HomeMadeGarbage Advent Calendar 2022 |7日目

以前こちらの記事で設定していた Stable Diffusion ですが数日前からエラーが出るようになってしまいました。

Stable Diffusion を Google Colab で実行する

 

エラー文

TypeError: getattr(): attribute name must be string

 

対応:ディフューザーのバージョンを変更

エラー文で検索したところ同様の質問があり、
ディフューザーのバージョンを 0.8.0 にする事で動作するようになりました🙏

CompVis/stable-diffusion-v1-4 · why bug : getattr(): attribute name must be string?

I had the issue. I updated the version of the diffusers to 0.8.0 instead of 0.3.0 and it works now.

修正前

修正後

 

 

コメントはこちらから

メールアドレスが公開されることはありません。コメントのみでもOKです。

This site uses Akismet to reduce spam. Learn how your comment data is processed.