mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-09 00:10:00 +08:00
Add use_distributed_sampler=False in Trainer
if you have defined your own sampler, you should have to set use_distributed_sampler to False! 当使用自定义的 sampler 时,必须设置 use_distributed_sampler 为 False
This commit is contained in:
parent
7e012e7678
commit
f85ef1aa08
@ -132,6 +132,7 @@ def main(args):
|
||||
logger=logger,
|
||||
num_sanity_val_steps=0,
|
||||
callbacks=[ckpt_callback],
|
||||
use_distributed_sampler=False, # 非常简单的修改,但解决了采用自定义的 bucket_sampler 下训练步数不一致的问题!
|
||||
)
|
||||
|
||||
model: Text2SemanticLightningModule = Text2SemanticLightningModule(
|
||||
|
Loading…
x
Reference in New Issue
Block a user