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.
1 parent 450f072 commit 31de752Copy full SHA for 31de752
examples/advanced_diffusion_training/test_dreambooth_lora_flux_advanced.py
@@ -178,7 +178,7 @@ def test_dreambooth_lora_pivotal_tuning_flux_clip_t5(self):
178
179
# make sure the state_dict has the correct naming in the parameters.
180
textual_inversion_state_dict = safetensors.torch.load_file(
181
- os.path.join(tmpdir, f"{tmpdir}_emb.safetensors")
+ os.path.join(tmpdir, f"{os.path(tmpdir).name}_emb.safetensors")
182
)
183
is_te = all(("clip_l" in k or "t5" in k) for k in textual_inversion_state_dict.keys())
184
self.assertTrue(is_te)
0 commit comments