Skip to content

AssertionError: checkpoint dir not found! #277

Description

@ohappyboy
       When I run style.py:

python style.py --style path/to/style/img.jpg --checkpoint-dir checkpoint/path --test path/to/test/img.jpg --test-dir path/to/test/dir --content-weight 1.5e1 --checkpoint-iterations 1000 --batch-size 20
problem:
Traceback (most recent call last):
File "style.py", line 167, in
main()
File "style.py", line 115, in main
check_opts(options)
File "style.py", line 91, in check_opts
exists(opts.checkpoint_dir, "checkpoint dir not found!")
File "src/utils.py", line 26, in exists
assert os.path.exists(p), msg
AssertionError: checkpoint dir not found!

please help me,i am just a rookie
SB R6}23 5ZEYT5_V`2HR

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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