Skip to content

[Advanced Dreambooth] Absolute paths for output_dir are not supported #6685

@levi

Description

@levi

Describe the bug

Saving the model files currently prepends the args.output_dir to the file name to various files:

{args.output_dir}/{args.output_dir}_emb.safetensors
{args.output_dir}/{args.output_dir}.safetensors

This breaks when using an absolute directory path for output_dir.

Reproduction

Run advanced dreambooth script with an absolute output path

Logs

No response

System Info

Latest repo version of diffusers

Who can help?

@linoytsaban

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleIssues that haven't received updatestraining

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions