Tensorflow学习
Tensorflow实战
odd~
记录学习过程
展开
-
visdom服务启动时提示Downloading scripts, this may take a little while解决办法
visdom服务启动时提示Downloading scripts, this may take a little while解决办法原创 2022-11-08 20:08:33 · 228 阅读 · 1 评论 -
Tensorflow
session 会话import osimport tensorflow as tf# import tensorflow.compat.v1 as tfimport tensorflow._api.v2.compat.v1 as tftf.disable_v2_behavior()mat1 = tf.constant([[3,3]])mat2 = tf.constant([[2], [2]])product = tf.matmul(mat1, .原创 2022-02-10 00:06:39 · 962 阅读 · 1 评论 -
生成对抗网络(GAN)学习(tf 2.6代码实现)
GAN简介GAN(Generative Adversarial Net)思想是一种二人零和博弈思想,GAN中有两个博弈者,一个生成器(G),一个判别器(D),这两个模型都有各自的输入和输出,具体功能如下:生成器(G):输入一个随机噪声样本,通过生成器生成一个与真实样本无差的样本判别器(D):对输出模型进行打分,类似一个分类器,打分的对照样本是真实的样本GAN简易模型如下:① GAN的训练一开始是训练判别器的,目的就是让判别器获得一个“标准”,也就是说,让判别器看一堆好的图片,从而知道好图究竟是原创 2022-01-25 11:37:57 · 3939 阅读 · 0 评论