TensorFlow&tflearn&Keras
文章平均质量分 52
breeze5428
这个作者很懒,什么都没留下…
展开
-
TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype float64 for variab
在跑tensorflow版DL时出现如下报错:TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype float64 for variable None原因 Theano没有正确设置解决在文件~/.theanorc添加如下内容:[global]floatX =原创 2016-08-14 19:36:48 · 2324 阅读 · 0 评论 -
Keras使用ImageNet上预训练的模型
mport kerasimport numpy as npfrom keras.applications import vgg16, inception_v3, resnet50, mobilenet #Load the VGG modelvgg_model = vgg16.VGG16(weights='imagenet') #Load the Inception_V3 model...翻译 2018-05-10 21:57:32 · 12187 阅读 · 0 评论 -
调用tensorboard
参考https://keras.io/callbacks/使用使用的深度学习框架Keras+TensorFlow,想调用tensorboard查看训练情况。1.在terminal里输入命令如果有安装TensorFlow,可以在终端输入如下命令启动tensorboardtensorboard --logdir=/full_path_to_your_logs其中full_p...原创 2018-06-30 21:37:10 · 2001 阅读 · 0 评论 -
Keras笔记——ModelCheckpoint
参考:https://machinelearningmastery.com/check-point-deep-learning-models-keras/https://keras.io/callbacks/http://keras-cn.readthedocs.io/en/latest/other/callbacks/语法keras.callbacks.ModelCheckpoint(filep...原创 2018-07-01 22:09:54 · 60906 阅读 · 0 评论