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

请问 lora-master.ts 是什么语法?能否提供相关资料 #427

Closed
musica2016 opened this issue May 9, 2024 · 0 comments
Closed

Comments

@musica2016
Copy link

有没有 lora-master.ts 里的 schema 的相关资料,我想知道除了 description 、default,是否还有其他什么方法?
union 和 const(required)可以实现根据情况增加新字段,那么能否实现这样逻辑,比如,
当 model_train_type == sd_lora 时,bucket_reso_steps 的默认值为 64;
当 model_train_type == sdxl_lora 时,bucket_reso_steps 的默认值为 32;

尝试许久不得解,望请多多指教,感谢!

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

1 participant