bamos / dcgan-completion.tensorflow

Image Completion with Deep Learning in TensorFlow
Other
1.31k stars 388 forks source link

Fix 64x64 completions using saved checkpoint #49

Open richardjdavies opened 7 years ago

richardjdavies commented 7 years ago

When I check out the current head, and run ./complete.py x.png, it fails, and has done since 61c129b22981028a2d18c590e208d0bbe192c4c9. Here is a patch to fix that.

I'll add some detailed comments to my patch below, and would ideally like @md5wasp to confirm that this still works for his different image sizes.

alisiahkoohi commented 7 years ago

I had the same problem. These modifications were helpful for loading my own saved checkpoint.

richardjdavies commented 7 years ago

@md5wasp - do you have any comments?