Joker316701882 / Deep-Image-Matting

This is tensorflow implementation for paper "Deep Image Matting"
626 stars 188 forks source link

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

Open wangxin1233 opened 5 years ago

wangxin1233 commented 5 years ago

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!

VoyagerIII commented 5 years ago

You haven't download the pre-trained model. And the pre-trained model can't be reached anymore. so sad.

wuzb19951013 commented 5 years ago

oh, bad news