<深度学习>TensorBoard的demo】的更多相关文章

import tensorflow.compat.v1 as tf import os os.environ["CUDA_VISIBLE_DEVICES"] = "-1"tf.disable_v2_behavior()a = tf.constant(4, name = "input_a")b = tf.constant(2, name = "input_b")c = tf.multiply(a, b, name = "…
20个令人惊叹的深度学习应用(Demo+Paper+Code) 从计算机视觉到自然语言处理,在过去的几年里,深度学习技术被应用到了数以百计的实际问题中.诸多案例也已经证明,深度学习能让工作比之前做得更好. 今天,量子位为大家收集了20个深度学习方面的优秀应用——当然,这份榜单可能并不详尽,但相信看过之后,你对这项技术在某些领域的潜力会有更清晰的认识. 针对每个应用,我们还尽量收集了相关的Demo.Paper和Code等信息. 1.Face2Face:扮演特朗普 斯坦福大学的一个小组做了一款名为F…
import os import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data from tensorflow.contrib.tensorboard.plugins import projector INPUT_NODE = 784 OUTPUT_NODE = 10 LAYER1_NODE = 500 def get_weight_variable(shape, regularizer):…
import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data # 1. 生成变量监控信息并定义生成监控信息日志的操作. SUMMARY_DIR = "F:\\temp\\log" BATCH_SIZE = 100 TRAIN_STEPS = 3000 def variable_summaries(var, name): with tf.name_scope('summaries'):…
import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data INPUT_NODE = 784 OUTPUT_NODE = 10 LAYER1_NODE = 500 def get_weight_variable(shape, regularizer): weights = tf.get_variable("weights", shape, initializer=tf.trunca…
# 1. 不同的命名空间. import tensorflow as tf with tf.variable_scope("foo"): a = tf.get_variable("bar", [1]) print(a.name) with tf.variable_scope("bar"): b = tf.get_variable("bar", [1]) print(b.name) # 2. tf.Variable和tf.get…
import os import numpy as np import tensorflow as tf import matplotlib.pyplot as plt from tensorflow.examples.tutorials.mnist import input_data %matplotlib inline LOG_DIR = 'F:\\temp\\log\\' SPRITE_FILE = 'mnist_sprite.jpg' META_FIEL = "mnist_meta.ts…
1. Stanford Convolutional Neural Network on the MNIST digits dataset http://cs.stanford.edu/people/karpathy/convnetjs/demo/mnist.html 2. 稀疏编码器找图像的基本单位 吴岸城的<神经网络与深度学习>4.8 章引入的例子. https://github.com/danluu/UFLDL-tutorial 3. logistic 回归 梯度上升算法推导 https:…
VS2013 配置CUDNN V4 DEMO 众所周知,当前主流深度学习的实现中调用的底层API都是cudnn,自己做项目需要开发深度学习模块时,也需要调用cudnn库,因此熟悉cudnn库是很有必要的. 从NVIDIA官方网站可以申请到CUDNN库与DEMO,通过研究DEMO,我们可以更好地使用CUDNN库. 下载CUDNN V4与DEMO 下载页面 需要注册一个开发者账户,流程很简单,这里不再赘述. 建议至少下载4个文件,win.linux.sample.doc cudnn-7.0-win-…
文本情感分类: 文本情感分类(一):传统模型 摘自:http://spaces.ac.cn/index.php/archives/3360/ 测试句子:工信处女干事每月经过下属科室都要亲口交代24口交换机等技术性器件的安装工作 分词工具 测试结果 结巴中文分词 工信处/ 女干事/ 每月/ 经过/ 下属/ 科室/ 都/ 要/ 亲口/ 交代/ 24/ 口/ 交换机/ 等/ 技术性/ 器件/ 的/ 安装/ 工作 中科院分词 工/n 信/n 处女/n 干事/n 每月/r 经过/p 下属/v 科室/n 都…