LeeDoYup / AnoGAN-tf

Unofficial Tensorflow Implementation of AnoGAN (Anomaly GAN)
MIT License
270 stars 92 forks source link

Query regarding loading weight file during testing #37

Open shashankvkt opened 4 years ago

shashankvkt commented 4 years ago

Hi, Thank you very much for providing the code. Since I am new to tensorflow, I was wondering if anyone could guide me on where is my trained weight file being loaded during testing?

Thanks

burgetrm commented 4 years ago

Your trained models are stored to checkpoint directory, e.g. mnist_64_28_28 if you use batch size 64 and output dimension 28x28 pixels.

shashankvkt commented 4 years ago

Thank you for your reply. But I could only see that being loaded in the train method as follows could_load, checkpoint_counter = self.load(self.checkpoint_dir line 193

But couldnt find anything as such in the test methods. Could you kindly guide me as to which line loads the checkpoint (or weights) during test? Thanks