细胞实例分割竞赛的图像和掩模数据集
数据说明:
这是一个 TFRecord 文件,其中包含了Sartorius细胞实例分割竞赛的模糊及其掩码你可以这样加载和使用它:
def deserialize_example(serialized_string)
image feature description=’图像’: tf.io.FixedLenFeature(],tf.string)标签: tf.io.FixedLenFeature(, tf.string)
解析记录=tf.io.parse single_example(序列化字符串,图像特征描述)图像= tf.reshape (tfio.decode_raw (parsed_record[image’], tffoat32),(IMAGE HEIGHT, IMAGE_ WIDTH,
3))
label=tf.reshape (tf.io.decode raw(parsed record[‘label’l, tf.uint8),(IMAGE HEIGHT,IMAGE WIDTH.
1))
返回图像、标签
