TensorFlowLaboratory
TensorFlowLaboratory copied to clipboard
代码中不能理解的一部分
代码21行中for index, name in enumerate(classes):其中classes是什么,我是新手,请多多指教
I think classes is the user defined classes. e.g. classes = ['cat', 'dog, 'fish']
hi, ycszen thank you for your great work. Something i don't understand clearly, such as for index, name in enumerate(classes): and the classes stands for ? and writer.close() seams wrong in new version~
classes = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'] 此处是使用 mnist 来写的demo,所以类别是这样。之后我会push一个完整的tfrecords的用例