We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cf790d8 + 4e67fb8 commit 930a391Copy full SHA for 930a391
train_network.py
@@ -774,7 +774,7 @@ def remove_model(old_ckpt_name):
774
else:
775
raise NotImplementedError("multipliers for each sample is not supported yet")
776
# print(f"set multiplier: {multipliers}")
777
- network.set_multiplier(multipliers)
+ accelerator.unwrap_model(network).set_multiplier(multipliers)
778
779
with torch.set_grad_enabled(train_text_encoder), accelerator.autocast():
780
# Get the text embedding for conditioning
0 commit comments