
tensorflow
文章平均质量分 68
yusisc
这个作者很懒,什么都没留下…
展开
-
How to write mutiple graphs in a run in tensorflow
As it's designed possible to programming with multiple graphs in tensorflow, I wonder how to write the graphs, more than one, with tensorboard. It seems not possible or not robitly supported. This pro原创 2017-10-28 22:43:48 · 343 阅读 · 0 评论 -
Two TensorFlow program structure template drafts
Simple one#!/usr/bin/env python3# -*- coding: UTF-8 -*-# @Time : 2018/8/3 10:47# @File : tensorflow_template.py# @Author : yusisc (yusisc@gmail.com)import numpy as npimport tensorflo...原创 2018-08-03 12:18:42 · 175 阅读 · 0 评论 -
'binary_crossentropy' & 'categorical_crossentropy' in keras
In model.compile(*) of keras, I met binary_crossentropy & categorical_crossentropy. These two kinds of loss somehow made me confused. I did some search, which help a lot on this. In fact, checkin...原创 2018-08-05 13:07:30 · 3637 阅读 · 0 评论 -
The Explanation: TensorFlow consumed all memory of all GPUs
When run a TensorFlow or Keras script (as script 1) on a computer with multiple GPUs, the nvidia-smi -l command is going to indicate all the memory resource of all GPUs is consumed, as: But, there ...原创 2018-08-05 12:42:12 · 238 阅读 · 0 评论 -
cudnn runtime error
DATE: 2018-03-25cudnn runtime errorWhen I run some code with tensorflow(gpu version), I met the following error.2018-03-25 10:31:42.242669: E C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY...原创 2018-03-25 11:30:15 · 1305 阅读 · 0 评论 -
"nan" error in tensorflow
Days ago, I met the error, training loss goes to be “nan” in tensorflow. Payed some effort, I found the cause of this error. In my case, It was I fed the wrong label to the network caused that error. I原创 2017-12-25 22:02:16 · 206 阅读 · 0 评论 -
Basic Tensorflow example
import tensorflow as tf a = tf.constant(20) b = tf.constant(10) result1 = tf.cond(a > b, lambda: a, lambda: b) result2 = tf.cond(a < b, lambda: a, lambda: b) # Initialize all the variable原创 2017-11-21 11:19:52 · 244 阅读 · 0 评论 -
Purpose Of Multiple Graphs In Tensorflow
why tensorflow designed to programming with multiple graphs ID simple detailed 1 give user more control with over naming A tf.Graph defines the namespace for tf.Operation objects: e原创 2017-11-21 11:11:41 · 281 阅读 · 0 评论 -
convolution in tensorflow (tf.nn.conv)
Understanding convolution in tensorflowPoints should be noticed The convolution ops sweep a 2-D filter over a batch of images, applying the filter to each window of each image of the appropriate原创 2017-11-20 14:23:36 · 663 阅读 · 0 评论 -
How to choose cross-entropy loss in tensorflow?
machine learning - How to choose cross-entropy loss in tensorflow? - Stack Overflowhttps://stackoverflow.com/questions/47034888/how-to-choose-cross-entropy-loss-in-tensorflow0down votefavorite ...转载 2017-11-20 14:20:59 · 1775 阅读 · 0 评论 -
Win10下安装Tensorflow(GPU)+CUDA8.0+cudnn6
Win10下安装Tensorflow(GPU)+CUDA8.0+cudnn6 - TongXXhaha的博客 - 优快云博客http://blog.youkuaiyun.com/tongxxhaha/article/details/75752047之前在win10下一直配置不好TensorFlow(GPU)版本,苦苦挣扎几天后无奈转向在ubantu 14.04下安装,转载 2017-11-20 14:06:23 · 459 阅读 · 0 评论 -
关于TensorFlow中的多图(Multiple Graphs)
关于TensorFlow中的多图(Multiple Graphs) - 优快云博客http://blog.youkuaiyun.com/aiya_xiazai/article/details/58701092关于TensorFlow中的多图(Multiple Graphs)原创 2017年02月28日 22:46:54标签:tensorflow /基础教程 /多图转载 2017-10-26 15:01:03 · 1444 阅读 · 4 评论 -
Hello, TensorFlow!
Hello, TensorFlow! - O'Reilly Mediahttps://www.oreilly.com/learning/hello-tensorflowHello, TensorFlow!Building and training your first TensorFlow graph from the ground up.By Aaron转载 2017-10-19 18:28:48 · 496 阅读 · 0 评论 -
[tensorflow] which dimension to reduce in tf.reduce_sum()
I began to learn tensorflow.import tensorflow as tf, firstly of course. When encountered with tf.reduce_sum(array) or tf.reduce_mean(array), I felt a little doubt which is the exact dimension to be re原创 2017-10-20 16:53:31 · 290 阅读 · 0 评论 -
Most Simple Usage Of Tensorboard
Starting to learn tensorflow, some questions confused me so much. The problems are like such. Does it necessary to initialize the tensorflow.summaryFileWriter instance? sometimes I wrote a graph and b原创 2017-10-29 15:13:42 · 273 阅读 · 0 评论 -
How to make TensorFlow employ multiple GPUs
The content of this essay may not be true. It’s just a short note. As far as I know, recent versions of TensorFlow do not automatically distribute work load to multiply GPUs, even the GPUs are visibl...原创 2019-01-02 14:38:21 · 257 阅读 · 0 评论