dcgan-completion.tensorflow icon indicating copy to clipboard operation
dcgan-completion.tensorflow copied to clipboard

Error for running the DCGAN training following the blog http://bamos.github.io/2016/08/09/deep-completion/

Open heathervica opened this issue 7 years ago • 3 comments

#Hello, thanks for your awesome tutorial on http://bamos.github.io/2016/08/09/deep-completion/.

Please I tried to follow the "Running DCGAN on your images", but I have a mistake in :.

I worked with python2, tensorflow 1.1.

1 When I tried to run image

I cannot see any result in the aligned folder, its empty, its important to mention that I have installed whole libraries needs.

2 The DCGAN training is working perfect.

Thank you so much for your help

Regards :)

heathervica avatar Jun 18 '17 21:06 heathervica

same here. I ran following command python complete.py ./data/your-test-data/aligned/* --outDir outputImages outputImages is empty.

error is

InvalidArgumentError (see above for traceback): Assign requires shapes of both tensors to match. lhs shape= [128] rhs shape= [64] [[Node: save/Assign_35 = Assign[T=DT_FLOAT, _class=["loc:@generator/g_bn3/gamma"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/cpu:0"](generator/g_bn3/gamma, save/RestoreV2_35)]]

Please guide on the same

sachinjm avatar Aug 16 '17 09:08 sachinjm

Does my pull request https://github.com/bamos/dcgan-completion.tensorflow/pull/49 fix this for you?

richardjdavies avatar Oct 14 '17 15:10 richardjdavies

@richardjdavies Hi, thanks for the fix, and pull request #49 fix the 'not found error', but still I get "Assign requires shapes of both tensors to match. lhs shape= [5,5,4096,512] rhs shape= [5,5,256,512]". I use the checkpoint file and resize my test pictures to 64*64 using openface tools. Can you give me a hand?? :-D

wiwengweng avatar Jul 10 '18 02:07 wiwengweng