8f6a6f153781d0908fb0904349aae844494026ea,models/shiftnet_model.py,ShiftNetModel,initialize,#ShiftNetModel#Any#,17
Before Change
networks.print_network(self.netG)
if self.isTrain:
networks.print_network(self.netD)
print("-----------------------------------------------")
def set_input(self, input):
input_A = input["A"]
input_B = input["B"]
After Change
if not self.isTrain or opt.continue_train:
self.load_networks(opt.which_epoch)
self.print_networks(opt.verbose)
def set_input(self, input):
real_A = input["A"].to(self.device)
real_B = input["B"].to(self.device)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: Zhaoyi-Yan/Shift-Net_pytorch
Commit Name: 8f6a6f153781d0908fb0904349aae844494026ea
Time: 2018-12-03
Author: yanzhaoyi@outlook.com
File Name: models/shiftnet_model.py
Class Name: ShiftNetModel
Method Name: initialize
Project Name: junyanz/pytorch-CycleGAN-and-pix2pix
Commit Name: 843d68642bd15d5737e3eb39abd76c748d6b52e8
Time: 2018-04-19
Author: junyanzhu89@gmail.com
File Name: models/test_model.py
Class Name: TestModel
Method Name: initialize