d3eb4df43fce0b3c7c6d33cab72a4a388ade4f31,hypergan/gans/base_gan.py,BaseGAN,save,#BaseGAN#Any#,124

Before Change


    def save(self, save_file):
        print("[hypergan] Saving network to ", save_file)
        os.makedirs(os.path.expanduser(os.path.dirname(save_file)), exist_ok=True)
        saver = tf.train.Saver(self.variables()+self.optimizer.variables())
        saver.save(self.session, save_file)

    def load(self, save_file):

After Change


    def save(self, save_file):
        print("[hypergan] Saving network to ", save_file)
        os.makedirs(os.path.expanduser(os.path.dirname(save_file)), exist_ok=True)
        saver = tf.train.Saver(self.variables())
        saver.save(self.session, save_file)

    def load(self, save_file):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: HyperGAN/HyperGAN
Commit Name: d3eb4df43fce0b3c7c6d33cab72a4a388ade4f31
Time: 2018-12-17
Author: mikkel@255bits.com
File Name: hypergan/gans/base_gan.py
Class Name: BaseGAN
Method Name: save


Project Name: HyperGAN/HyperGAN
Commit Name: 61f0f53ee9d7b73c8e4b762d08dd8ae337cb23dc
Time: 2018-12-03
Author: mikkel@255bits.com
File Name: hypergan/optimizers/curl_optimizer.py
Class Name: CurlOptimizer
Method Name: variables


Project Name: HyperGAN/HyperGAN
Commit Name: 61f0f53ee9d7b73c8e4b762d08dd8ae337cb23dc
Time: 2018-12-03
Author: mikkel@255bits.com
File Name: hypergan/optimizers/depth_optimizer.py
Class Name: DepthOptimizer
Method Name: variables