Open ohappyboy opened 2 years ago
Maybe I'm reviving a dead thread, but to anyone asking the same question, here's what I did to resolve this:
--checkpoint-dir checkpoints
The checkpoint/path is a place to add your model files ! First ,you should train NN net to get that model ,then you can use it after !
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