20309f3b9e17e321737400bde8e81e84d14eea79,networks.py,,discriminator,#Any#,55

Before Change


	
	//x = concatenate([x_mask,x_mask,x_mask,x_mask,x_mask,x_mask])
	//x = keras.layers.multiply([x,x_grad])
	x = myConv(x_src,32,strides=2)
	x = concatenate([x,x_pose])
	x = myConv(x,64,strides=2)
	x = myConv(x,128,strides=2)
	x = myConv(x,128,strides=2)
	x = myConv(x,256,strides=2)

	x = Flatten()(x)
	x = myDense(x,10,activation="relu")
	y = myDense(x,2,activation="softmax")

	model = Model(inputs=[x_src,x_pose],outputs=y, name="discriminator")

After Change


	y = myDense(x,2,activation="softmax")
	"""

	model = Model(inputs=[x_src,x_tgt_pose],outputs=y, name="discriminator")
	return model

def gan(generator,discriminator,param,feat_net,feat_weights):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: balakg/posewarp-cvpr2018
Commit Name: 20309f3b9e17e321737400bde8e81e84d14eea79
Time: 2017-06-20
Author: balakg@thousandeyes.csail.mit.edu
File Name: networks.py
Class Name:
Method Name: discriminator


Project Name: balakg/posewarp-cvpr2018
Commit Name: d607af8dc58f85f7000fb9b61e9ebf3c6e4b23da
Time: 2017-04-24
Author: balakg@thousandeyes.csail.mit.edu
File Name: networks.py
Class Name:
Method Name: discriminator


Project Name: balakg/posewarp-cvpr2018
Commit Name: e12871d8ee11ea6061707005aa5640c1f97a0a9d
Time: 2017-08-14
Author: balakg@thousandeyes.csail.mit.edu
File Name: networks.py
Class Name:
Method Name: unet