vahidk/tfrecord

TypeError: object of type 'TFRecordDataset' has no len()

Jakobovski opened this issue · 1 comments

the len() method is not implemented on TFRecordDataset which prevents using torch functions such as random_split()

Currently TFRecordDataset uses an iterable dataset, you can add a variation with random access. PRs are welcome.