分类 机器学习 中的文章

SAGAN生成器和判别器

* SAGAN ​ 生成器: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 #将一些层封装成块,,注意这里有SN的参与 def block(input,output_channel,training=false): x = BatchNormalization(input) x = RELU() convtr = conv2dT(output_channels,3,2,padding='same') x = SN(convtr) x = BatchNormalization()<------------------------------------------- x = RELU() convtr =……

阅读全文

SA_NET

* 论文内容: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 使用self-attention的SANET实现风格迁移 基本概念: ​ 内容图像lc……

阅读全文

卷积conv2d

Conv2d conv2d参考,看这个足够了 参考原文 函数定义: 1 2 keras.layers.Conv2D(filters, kernel_size, strides=(1, 1), padding='valid', data_format=None, dilation_rate=(1, 1), activation=None, use_bias=True, kernel_initializer='glorot_uniform', bias_initializer='zeros', kernel_regularizer=None, bias_regularizer=None, activity_regularizer=None, kernel_constraint=None, bias_constraint=None) 该层创建一个卷积核,对层输入惊醒卷积以生成张量。如果user_bias为……

阅读全文

Tfrecord

TFrecord文件定义: 这是一种将图像数据和标签放在一起的二进制文件,能更好的利用内存,在tensorflow中快速的复制,移动,读取,存储 等等.. 本质上和x……

阅读全文

DCGAN_tf2

跟着tf官网过一遍DCGAN的算法流程,源地址 导入包 1 from __future__ import absolute_import, division, print_function, unicode_literals absolute_import模块:一般情况下,程序默认是先在系统的默认目录中寻找导入的包,……

阅读全文