摘要:
#-*- coding:utf-8 -*- import os import tensorflow as tf import cv2 ''' 文件目录为 chiwawa/ xx.jpg xx.jpg ..... japandog/ xx.jpg xx.jpg ..... ''' cwd = 'f:/py/tfrecord/' clas... 阅读全文
摘要:
1 #-*- coding:utf-8 -*- 2 import tensorflow as tf 3 from PIL import Image 4 5 cwd = 'f:/py/tfrecord/aa/' # 读取图片后存放的文件路径 6 filename = tf.train.string_input_producer(['f:/py/tfrecord/tr... 阅读全文