migueldeicaza / TensorFlowSharp

TensorFlow API for .NET languages
MIT License
3.14k stars 577 forks source link

Mnist with Tensorflow Dataset Api #261

Open YanYas opened 6 years ago

YanYas commented 6 years ago

Hi @migueldeicaza, I've been struggling to setup datasets for batching with the Tensorflow's internal dataset system.

I would say the problems lie with the Iterator where it seems to get confused about the compnents of an array when receiving a TensorDataset. It is working fine with dataset generators, such as RangeDataset. Could the Mnist example be updated to show how the file-based datasets correctly implement the dataset api for batching and shuffling?

And thanks of course for your work so far.

miroslav22 commented 5 years ago

390

Likely to be fixed by 390