How to input new testing set to the trained discriminator
Hi, so I want to feed in new testing images to the trained discriminator. I restored the model but don't know what should I feed in the self.sess.run. Can anyone help? Should I code this in init or should I make a new function within the DCGAN class?
Many thanks!
Also I'm getting an error when testing (without '--train'):
ValueError: Variable generator/g_h0_lin/Matrix already exists, disallowed. Did you mean to set reuse=True in VarScope? Originally defined at:
File "/home//DCGAN-tensorflow-master/ops.py", line 98, in linear tf.random_normal_initializer(stddev=stddev)) File "/home/DCGAN-tensorflow-master/model.py", line 407, in generator z, self.gf_dim8s_h16*s_w16, 'g_h0_lin', with_w=True) File "/home/DCGAN-tensorflow-master/model.py", line 117, in build_model self.G = self.generator(self.z)
Hey, man, can you tell me how you saved the discriminator model