
tensorflow
新生代农民工!
人工智障
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
windows 10 安装TensorFlow object detection 及 训练
https://github.com/protocolbuffers/protobuf/releases/ https://github.com/tensorflow/models 4、添加环境变量 在Anaconda\Lib\site-packages添加一个路径文件,如tensorflow_model.pth,必须以.pth为后缀,写上你要加入的模块文件所在的目录名称,如下图: ...原创 2020-04-19 19:25:10 · 607 阅读 · 1 评论 -
ubuntu 下 tensorrt 加速 tensorflow object detection 模型
为了加快推理速度,使用tensorrt优化模型。如上图所示,训练过程不变(训练以后再说),将得到的模型进行优化加速。 1、官方文档:https://docs.nvidia.com/deeplearning/sdk/tensorrt-install-guide/ 2、tensorrt 下载路径:https://developer.nvidia.com/tensorrt 3、模型转换...原创 2020-03-16 14:48:31 · 590 阅读 · 0 评论 -
AttributeError: module 'tensorflow.python.training.checkpointable' has no attribute 'CheckpointableB
tensorflow版本变换的时候,程序运行报警。本人的解决方法。 pip uninstall tensorflow-gpu 以后import tensorflow 还是会出现这个错误。 去安装目录下,删除tensorflow文件夹,重新安装,解决问题 ...原创 2019-08-21 14:07:19 · 1548 阅读 · 0 评论 -
深度学习基本概念softmax、sigmoid、均方误差、交叉熵
在神经网络的最后一层总用到的激活函数为softmax和sigmoid。 在经过以上 激活函数后,线性回归选用均方误差为损失函数,逻辑回归选择交叉熵为损失函数。以下代码使用tensorflow实现。 softmax激活函数:用在多分类,一个输入只能有一个输出,输出标签独立(onehot类型标签,只有一个为1,其他都是0)),如猫狗大战一张图像,识别结果非猫即狗。 tensorf...原创 2019-09-22 14:18:37 · 938 阅读 · 0 评论