tensorflow - 解码训练示例
问题描述
我正在使用 ddsm 数据集制作 CNN,数据集的所有者提供了一些代码来解码训练示例,但我无法弄清楚代码的第一部分实际上在做什么。还在学习。供参考:https ://www.kaggle.com/skooch/ddsm-mammography/home
代码: features = tf.parse_single_example( serialized_example, features={ 'label': tf.FixedLenFeature([], tf.int64), 'label_normal': tf.FixedLenFeature([], tf.int64), 'image': tf.FixedLenFeature([], tf.string) })
解决方案
推荐阅读
- python - 在 Python input() 函数中插入分隔符
- linux - 我想安装“邮件”但是
- drupal - Drupal 7. 如何在主内容字段中添加一段可重用的html(或块)
- python - Python:循环内矩阵每个元素的绝对值
- javascript - [Vue 警告]:未定义属性或方法“$v”
- ios - 加入混合的从右到左和从左到右的语言字符串时的奇怪行为
- php - 提交 ajax 表单不适用于 PHP $_FILES
- azure - 使用逻辑应用从 Azure 服务总线主题读取和删除一条或多条消息
- python - 基于有限价值的每日回报率 - 熊猫
- sql - 计算通过的服务时间