自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 收藏
  • 关注

翻译 python基础知识学习

1.logging详细参考链接:https://www.cnblogs.com/Nicholas0707/p/9021672.html

2020-03-02 16:38:02 135

转载 tensorflow保存模型和导入模型的方式

Method_1_pb文件1.将模型保存为pb文件import tensorflow as tfimport osfrom tensorflow.python.framework import graph_utilpb_file_path = os.getcwd()with tf.Session(graph=tf.Graph()) as sess: x = tf.place...

2020-02-21 17:53:25 951

原创 Inception_V3的运行

个人笔记 感谢指正1.导入包import tensorflow as tfimport osimport reimport numpy as npfrom PIL import Imageimport matplotlib.pyplot as plt2.定义一个处理文件的类class NodeLookup(object): def __init__(self): ...

2020-02-19 19:48:52 315

转载 Tensorflow加载预训练模型和保存模型(ckpt文件)以及迁移学习finetuning

转载自:https://blog.csdn.net/huachao1001/article/details/78501928使用tensorflow过程中,训练结束后我们需要用到模型文件。有时候,我们可能也需要用到别人训练好的模型,并在这个基础上再次训练。这时候我们需要掌握如何操作这些模型数据。看完本文,相信你一定会有收获!1 Tensorflow模型文件我们在checkpoint_dir目...

2020-02-19 18:03:55 1539 1

转载 tensorflow的文件操作API

参考链接:https://blog.csdn.net/pursuit_zhangyu/article/details/80557958tf.gfile() API介绍1-1)tf.gfile.Copy(oldpath, newpath, overwrite=False)拷贝源文件并创建目标文件,无返回,其形参说明如下:oldpath:带路径名字的拷贝源文件;newpath:带路径名字的拷...

2020-02-19 18:03:15 134

原创 Inception_V3模型下载

个人笔记 感谢指正有几个函数第一次见,还是总结一下导入库import tensorflow as tfimport osimport tarfileimport requestsfrom tqdm import tqdminception_v3下载地址inception_pretrain_model_url = 'http://download.tensorflow.org/m...

2020-02-19 15:34:11 2637

转载 tensorflow中tf.Graph()使用说明

tensorflow中tf.Graph()使用说明(与上述代码无联系)参考连接:http://blog.sina.com.cn/s/blog_628cc2b70102yonj.htmltf.Graph()表示实例化一个用于tensorflow计算和表示用的数据流图,不负责运行计算。在代码中添加的操作和数据都是画在纸上的画,而图就是呈现这些画的纸。我们可以利用很多线程生成很多张图,但是默认图就只...

2020-02-19 15:33:29 2993 4

原创 LSTM简单实例

个人笔记 感谢指正LSTM_tensorflow1.导入包import tensorflow as tffrom tensorflow.examples.tutorials.mnist import input_data2.导入mnist手写数据集mnist = input_data.read_data_sets('MNIST_data/',one_hot=True)3.设置相应...

2020-02-13 16:44:19 4145

原创 简单的手写数字识别

个人笔记 感谢指正手写数字识别参考链接:https://blog.csdn.net/qq_32241189/article/details/804507411.导入包import tensorflow as tffrom tensorflow.examples.tutorials.mnist import input_data2.导入数据集mnist = input_data.re...

2020-02-12 16:11:42 526

原创 InceptionV1网络

个人笔记 感谢指正InceptionV1参考来源:https://zhuanlan.zhihu.com/p/73828787https://zhuanlan.zhihu.com/p/42124583InceptionV1简介InceptionV1 是GooLeNet另一个称呼,GooLeNet深度只有22层,但大小却比AlexNet和VGG小很多,GooLeNet的参数为500万个,Al...

2020-02-10 22:07:19 2904 1

原创 Neural Networks techniques' brief analysis(continuous updating)

BatchNormalization原理 :Normalize the activations of the previous layer at each batch,i.e. applies a transformation that maintains the mean activation close to 0 and the activation standard deviation ...

2020-02-04 17:58:05 183

原创 ResNet 网络学习

Import参考来源 :刘博from __future__ import print_functionimport numpy as npimport warningsfrom keras.layers import Inputfrom keras import layersfrom keras.layers import Densefrom keras.layers import...

2020-02-04 17:22:22 662

原创 pip 镜像源下载

镜像源网址:阿里云:http://mirrors.aliyun.com/pypi/simple/中国科技大学:https://pypi.mirrors.ustc.edu.cn/simple/豆瓣:http://pypi.douban.com/simple/清华大学:https://pypi.tuna.tsinghua.edu.cn/simple/中国科学技术大学:http://pypi....

2020-02-03 12:54:52 190

原创 Error : Could not import PIL.Image. The use of `load_img` requires PIL.

问题ImportError: Could not import PIL.Image. The use of load_img requires PIL.解决办法pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple/ pillow原因是没有安装pillow,因为使用load_img()函数需要pillow...

2020-02-03 12:44:10 9448 5

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除