importtensorflowastfimporttools #%%defVGG16(x,n_classes,is_pretrain=True):# x输入图片 x=tools.conv('conv1_1',x,64,kernel_size=[3,3],stride=[1,1,1,1],is_pretrain=is_pretrain)x=tools.conv('conv1_2',x,64,kernel_size=[3,3],stride=[1,1,1,1],is_pretrain=is_pretrain)x=...
SGAN: Structured Generative Adversarial Networks. Contribute to thudzj/StructuredGAN development by creating an account on GitHub.
Raw# _*_ coding:utf-8 _*_ '''Train a simple deep CNN on the CIFAR10 small images dataset. It gets to 75% validation accuracy in 25 epochs, and 79% after 50 epochs. (it's still underfitting at that point, though). ''' from __future__ import print_function import keras from ke...