随笔分类 -  TensorFlow

摘要:在从cheakpoint导出模型时,报错"key xxx not found in cheakpoint"? 原因暂未确定,推测可能是tf版本问题,最好是在哪训练就在哪儿导出 阅读全文
posted @ 2020-08-23 20:03 盐亭的森林 阅读(85) 评论(0) 推荐(0)
摘要:tensorflow_tflite专题 本文章主要包括两大问题: tflite的转换:如何转换得到tflite? tflite的测试:如何测试或者说如何在PC端使用tflite? ##问题一:如何转换得到tflite 分为两个过程,步骤:cheakpoint→pb模型→tflite模型 step1: 阅读全文
posted @ 2020-08-23 20:00 盐亭的森林 阅读(457) 评论(0) 推荐(0)
摘要:如何使用TensorFlow提供的models训练人脸识别的网络? 前提是我们已经有train和test的record数据格式文件 修改使用的网络,使其为我所用 文件路径:models/research/object_detection/samples/configs/ssd_resnet50_v1 阅读全文
posted @ 2020-05-30 20:54 盐亭的森林 阅读(193) 评论(0) 推荐(0)
摘要:TensoeFlow+SSD的环境搭建 1. 注意Tensorflow和CUDA的版本对应,官网可查 https://tensorflow.google.cn/install/source linux 2. 先下载TensorFlow的models,然后进入models_master文件夹 http 阅读全文
posted @ 2020-05-24 10:05 盐亭的森林 阅读(381) 评论(0) 推荐(0)
摘要:独热编码 阅读全文
posted @ 2020-05-17 22:25 盐亭的森林 阅读(582) 评论(0) 推荐(0)
摘要:```python import tensorflow as tf filelist = ['data/train.tfrecord'] file_queue = tf.train.string_input_producer(filelist, # 定义文件队列 num_epochs=None, shuffle=True) reader = tf.TFRecordReader() # tensoe 阅读全文
posted @ 2020-05-12 15:38 盐亭的森林 阅读(154) 评论(0) 推荐(0)
摘要:tf.train.string_input_producer 阅读全文
posted @ 2020-05-09 12:24 盐亭的森林 阅读(1414) 评论(1) 推荐(0)
摘要:样本去读;文件→ 队列→ 读取队列 阅读全文
posted @ 2020-05-09 09:43 盐亭的森林 阅读(476) 评论(1) 推荐(0)
摘要:数据集下载python版 阅读全文
posted @ 2020-05-07 15:50 盐亭的森林 阅读(209) 评论(0) 推荐(0)
摘要:图片来自于cifar10的数据集TFRecord 阅读全文
posted @ 2020-05-07 15:41 盐亭的森林 阅读(239) 评论(0) 推荐(0)