Skip to content

ValueError: Can't load save_path when it is None. #37

@wangxin1233

Description

@wangxin1233

hello!
when I run the code :python test.py --alpha=./test_data/alpha/1.png --rgb=./test_data/RGB/1.png
always appear the follow error:
image
Traceback (most recent call last):
File "test.py", line 47, in
main(parse_arguments(sys.argv[1:]))
File "test.py", line 16, in main
saver.restore(sess,tf.train.latest_checkpoint('./model'))
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1557, in restore
raise ValueError("Can't load save_path when it is None.")
ValueError: Can't load save_path when it is None.
could you help me how to solve it? thank you!

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