ai-forever / ai-forever/ru-dalle

Minor error in Finetuning example code

オープン
#67 コメント 0 件 リアクション 3 件 担当者 0 名 GitHub で見る
主要言語
Jupyter Notebook
スター
1.6k
フォーク
242
PR マージ指標
30日以内にマージされた PR はありません

説明

In 'freeze' method, there is trivial error i think.

When user intend to freeze attention layers, user will set freeze_attn=True.

But, there is no layers contained 'attn' in names of model.module.named_parameters()! (It can not filtered with condition "elif 'attn' in name:")
So, when user freezes 'other' layers, layers contained 'attention' will be freezed, too.

It will be proper to revise "'attn' in name" to "'attention' in name".

Anyway, thank you all developers of ruDALL-E for providing awesome pre-trained model!

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。