We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 里的 schema 的相关资料,我想知道除了 description 、default,是否还有其他什么方法? union 和 const(required)可以实现根据情况增加新字段,那么能否实现这样逻辑,比如, 当 model_train_type == sd_lora 时,bucket_reso_steps 的默认值为 64; 当 model_train_type == sdxl_lora 时,bucket_reso_steps 的默认值为 32;
尝试许久不得解,望请多多指教,感谢!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
有没有 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;
尝试许久不得解,望请多多指教,感谢!
The text was updated successfully, but these errors were encountered: