def define_D(which_netD): if which_netD == 'FFCFeature': return networks.FFCFeature() elif which_netD == 'MultPathdilationNet': return networks.MultPathdilationNet() elif which_netD == 'SinglePathdilationSingleOutputNet': return networks.SinglePathdilationSingleOutputNet() elif which_netD == 'SinglePathdilationMultOutputNet': return networks.SinglePathdilationMultOutputNet() elif which_netD == 'NoBNMultPathdilationNet': return networks.NoBNMultPathdilationNet()
def define_D(which_netD): if which_netD == 'FFC': return networks.FFC() elif which_netD == 'NoBNMultPathdilationNet': return networks.NoBNMultPathdilationNet() elif which_netD == 'SinglePathdilationSingleOutputNet': return networks.SinglePathdilationSingleOutputNet() elif which_netD == 'SinglePathdilationMultOutputNet': return networks.SinglePathdilationMultOutputNet() elif which_netD == 'NoBNSinglePathdilationMultOutputNet': return networks.NoBNSinglePathdilationMultOutputNet() elif which_netD == 'lsgan_D': return networks.lsgan_D()