Skip to content

safree key error #7

Description

@ShristiDasBiswas

Hi, I get the following issue with bash scripts/run_nudity_sdxl.sh .

Traceback (most recent call last):
  File "/home/min/a/sdasbisw/Desktop/PROJECTS/svd_diff/SAFREE-main/generate_safree.py", line 426, in <module>
    main()
  File "/home/min/a/sdasbisw/Desktop/PROJECTS/svd_diff/SAFREE-main/generate_safree.py", line 297, in main
    imgs = pipe(
  File "/home/min/a/sdasbisw/anaconda3/envs/ucd/lib/python3.9/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/home/min/a/sdasbisw/Desktop/PROJECTS/svd_diff/SAFREE-main/models/modified_stable_diffusion_xl_pipeline.py", line 1601, in __call__
    _text_embeddings = rescaled_text_embeddings if (sf["safree"] \
KeyError: 'safree'

could you help me solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions