7348eb260cb8be71a9d469f9a27a2625b0ce1dce,models/networks.py,SIGGRAPHGenerator,forward,#SIGGRAPHGenerator#,349
Before Change
conv8_3 = self.model8(conv8_up)
if(self.classification):
return self.model_class(conv8_3)
else:
// embed()
conv9_up = self.model9up(conv8_3) + self.model2short9(conv2_2)
conv9_3 = self.model9(conv9_up)
After Change
if(self.classification):
out_class = self.model_class(conv8_3)
conv9_up = self.model9up(conv8_3.detach()) + self.model2short9(conv2_2.detach())
conv9_3 = self.model9(conv9_up)
conv10_up = self.model10up(conv9_3) + self.model1short10(conv1_2.detach())
conv10_2 = self.model10(conv10_up)
out_reg = self.model_out(conv10_2)
return (out_class, out_reg)
else:
conv9_up = self.model9up(conv8_3) + self.model2short9(conv2_2)
conv9_3 = self.model9(conv9_up)
conv10_up = self.model10up(conv9_3) + self.model1short10(conv1_2)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: richzhang/colorization-pytorch
Commit Name: 7348eb260cb8be71a9d469f9a27a2625b0ce1dce
Time: 2018-08-19
Author: rzhang88@gmail.com
File Name: models/networks.py
Class Name: SIGGRAPHGenerator
Method Name: forward
Project Name: ikostrikov/pytorch-a2c-ppo-acktr
Commit Name: e7f739f3ad1a377bfbcd0b92c55c2b9d947764fc
Time: 2018-04-24
Author: ikostrikov@gmail.com
File Name: algo/a2c_acktr.py
Class Name: A2C_ACKTR
Method Name: update
Project Name: Zhaoyi-Yan/Shift-Net_pytorch
Commit Name: bcbef3267f372186f457b9c22feec249bd85b2f6
Time: 2018-12-14
Author: yanzhaoyi@outlook.com
File Name: util/util.py
Class Name:
Method Name: cal_feat_mask