TensorFlowLaboratory icon indicating copy to clipboard operation
TensorFlowLaboratory copied to clipboard

代码中不能理解的一部分

Open BrilliantLing opened this issue 8 years ago • 3 comments

代码21行中for index, name in enumerate(classes):其中classes是什么,我是新手,请多多指教

BrilliantLing avatar Nov 24 '16 13:11 BrilliantLing

I think classes is the user defined classes. e.g. classes = ['cat', 'dog, 'fish']

MaxChu719 avatar Jan 09 '17 05:01 MaxChu719

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~

stutys avatar Feb 09 '17 04:02 stutys

classes = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'] 此处是使用 mnist 来写的demo,所以类别是这样。之后我会push一个完整的tfrecords的用例

yu-changqian avatar Feb 09 '17 13:02 yu-changqian