datitran / face2face-demo

pix2pix demo that learns from facial landmarks and translates this into a face
https://medium.com/@datitran/face2face-a-pix2pix-demo-that-mimics-the-facial-expression-of-the-german-chancellor-b6771d65bf66
MIT License
1.44k stars 423 forks source link

Can't load save_path when it is None. #21

Open gladamirflint opened 6 years ago

gladamirflint commented 6 years ago

I'm on the first part of Step 4, when the model is supposed to be reduced. Whenever I try to reduce the model, i get the following errors: File "reduce_model.py", line 249, in <module> saver.restore(sess, checkpoint) File "C:\Users\gladamirflint\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\training\saver.py", line 1769, in restore raise ValueError("Can't load save_path when it is None.") ValueError: Can't load save_path when it is None.

I've looked for solutions elsewhere but I don't know enough about Tensorflow to understand what the problem is exactly. In the face2face-model folder, there is a file called 'checkpoint', no file extension. There's also three files in particular, model-64000.data-00000-of-00001, model-64000.index, and model-64000.meta that are also in that folder.

Any help with this would be greatly appreciated.

gaogaooscar commented 6 years ago

I hava the same question,and can not dill it,did you allrealdy solved it? could you give me some suggestion?

gladamirflint commented 6 years ago

Unfortunately not, I suspect it’s a version issue but I tried using all programs at the version they were at when this project was originally posted, and I still couldn’t get it to work.