Skip to content

Run img2img.py (TypeError: NoneType) #288

@matthiaspop

Description

@matthiaspop

Hi out there,

I am a total beginner with python and so on but, when I tried to run the img2img.py application following error hit me.

Traceback (most recent call last):
File "scripts/orig_scripts/img2img.py", line 296, in
main()
File "scripts/orig_scripts/img2img.py", line 233, in main
assert os.path.isfile(opt.init_img)
File "C:\Users\Matthias\anaconda3\envs\ldm\lib\genericpath.py", line 30, in isfile
st = os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

Does anyone know, what I'm doing wrong? Do I need a different weight?
I am gladful for any help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions