TensorFlow
文章平均质量分 63
chaochaopang0
这个作者很懒,什么都没留下…
展开
-
TensorFlow之神经网络练习
TensorFlow实现神经网络:import tensorflow as tffrom numpy.random import RandomStatebatch_size=8#定义权值、x、yw1=tf.Variable(tf.random_normal([2,3],stddev=1,seed=1))w2=tf.Variable(tf.random_normal([3,1],stdd原创 2017-11-09 11:59:23 · 299 阅读 · 0 评论 -
TensorFlow之损失函数、学习率、正则
#损失函数记录import tensorflow as tf#交叉熵的两种表示cross_entropy=-tf.reduce_mean(y_*tf.log(tf.clip_by_value(y,1e-10,1.0)))cross_entropy=tf.nn.softmax_cross_entropy_with_logits(y,y_)#均方误差的表示mse=tf.reduce_mea原创 2017-11-09 14:30:02 · 1949 阅读 · 0 评论 -
基于keras多层LSTM实现
代码分为数据读取、预处理、建模、训练、预测(测试集预测,未来连续预测)、结果展示(此代码是以单属性数据集为例)# -*- coding: utf-8 -*-"""Created on Tue May 8 14:28:43 2018@author: lichao_lc"""import numpy as npimport matplotlib.pyplot as pltimpo..原创 2018-05-10 13:13:04 · 30266 阅读 · 15 评论 -
深度学习开源项目整理
基于TensorFlow的框架https://github.com/fchollet/kerashttps://github.com/tflearn/tflearnhttps://github.com/beniz/deepdetecthttps://github.com/tensorflow/foldhttps://github.com/leriomaggio/deep-learning...原创 2018-09-19 19:50:24 · 529 阅读 · 0 评论 -
Faster-Rcnn记录
Faster-Rcnn记录上述图理解如下:(1)Ncls=256原创 2019-05-22 20:19:03 · 367 阅读 · 0 评论