https://arxiv.org/pdf/1905.11946.pdf https://github.com/tensorflow/tpu/tree/master/models/official/efficientnet tf2实现https://github.com/calmisential/E ...
分类:
Web程序 时间:
2020-02-02 15:26:22
阅读次数:
90
from tensorflow.python.keras.preprocessing.image import load_img,img_to_array from tensorflow.python.keras.models import Sequential,Model from tensorf ...
分类:
其他好文 时间:
2020-02-02 01:08:50
阅读次数:
331
概述 前面几节讲的是linear regression的内容,这里咱们再讲一个非常常用的一种模型那就是classification,classification顾名思义就是分类的意思,在实际的情况是非常常用的,例如咱们可以定义房价是否过高,如果房价高于100万,则房价过高,设置成true;如果房价低 ...
分类:
其他好文 时间:
2020-02-01 23:25:19
阅读次数:
97
一、安装Anaconda 1 下载Anaconda安装脚本 为了避免漫长的等待,镜像源选择国内的清华镜像源,镜像源地址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ 我选择最新版本5.3.1,执行如下命令下载: wget https:/ ...
分类:
其他好文 时间:
2020-02-01 22:57:39
阅读次数:
111
layers介绍 Flatten和Dense介绍 优化器 损失函数 compile用法 第二个是onehot编码 模型训练 model.fit 两种创建模型的方法 from tensorflow.python.keras.preprocessing.image import load_img,img ...
网络结构如下: 代码如下: 1 # encoding: utf-8 2 3 import tensorflow as tf 4 from tensorflow import keras 5 from tensorflow.keras import layers, Sequential, losses ...
分类:
Web程序 时间:
2020-02-01 14:21:02
阅读次数:
217
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --set show_channel_urls yes ...
分类:
其他好文 时间:
2020-02-01 11:04:03
阅读次数:
161
from tensorflow.python import keras (x_train,y_train),(x_test,y_test) = keras.datasets.cifar100.load_data() print(x_train.shape) print(y_train.shape) ...
分类:
其他好文 时间:
2020-02-01 10:21:35
阅读次数:
155
0x00 前言常用的LSTM,或是双向LSTM,输出的结果通常是以下两个:1) outputs,包括所有节点的hidden2) 末节点的state,包括末节点的hidden和cell大部分任务有这些就足够了,state是随着节点间信息的传递依次变化并容纳更多信息,所以通常末状态的cell就囊括了所有... ...
分类:
其他好文 时间:
2020-02-01 10:19:39
阅读次数:
134
import tensorflow as tf x = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12] with tf.Session() as sess: a = tf.reshape(x, [2, 2, 3]) a = sess.run(a) print(a) p ...
分类:
其他好文 时间:
2020-01-31 22:33:29
阅读次数:
92