30dfa316d689a232c2e6deaa813827be52aba961,niftynet/network/simulator_gan.py,ImageDiscriminator,__init__,#ImageDiscriminator#Any#,124
Before Change
class ImageDiscriminator(BaseDiscriminator):
def __init__(self, name):
super(ImageDiscriminator, self).__init__(name=name)
self.initializers = {"w": tf.contrib.layers.variance_scaling_initializer(),
"b": tf.constant_initializer(0)}
def layer_op(self, image, conditioning, is_training):
After Change
def __init__(self, name):
super(ImageDiscriminator, self).__init__(name=name)
w_init = tf.random_normal_initializer(0, 0.02)
b_init = tf.constant_initializer(0.001)
// w_init = tf.contrib.layers.variance_scaling_initializer()
// b_init = tf.constant_initializer(0)
self.initializers = {"w": w_init, "b": b_init}
self.chns = [32, 64, 128, 256, 512, 1024, 1]
// TODO: customise alpha in leakyrelu
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 6
Instances
Project Name: NifTK/NiftyNet
Commit Name: 30dfa316d689a232c2e6deaa813827be52aba961
Time: 2017-09-12
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/network/simulator_gan.py
Class Name: ImageDiscriminator
Method Name: __init__
Project Name: NifTK/NiftyNet
Commit Name: af30324f08c2e3728e19b9aa70dcf3c3ceec2d23
Time: 2017-08-17
Author: eli.gibson@gmail.com
File Name: niftynet/network/simulator_gan.py
Class Name: ImageGenerator
Method Name: __init__
Project Name: NVIDIA/OpenSeq2Seq
Commit Name: b9aa500b2fcbdb1d6d82e482b4cf361efb108f15
Time: 2018-08-02
Author: vnoroozi@nvidia.com
File Name: open_seq2seq/parts/convs2s/conv_wn_layer.py
Class Name: Conv1DNetworkNormalized
Method Name: __init__
Project Name: NVIDIA/OpenSeq2Seq
Commit Name: b9aa500b2fcbdb1d6d82e482b4cf361efb108f15
Time: 2018-08-02
Author: vnoroozi@nvidia.com
File Name: open_seq2seq/parts/convs2s/ffn_wn_layer.py
Class Name: FeedFowardNetworkNormalized
Method Name: __init__
Project Name: tryolabs/luminoth
Commit Name: 573c32dd3af062a57399e3f8e1b5be7ac0a3f375
Time: 2017-07-13
Author: javirey@gmail.com
File Name: frcnn/rpn.py
Class Name: RPN
Method Name: __init__