tensorflow / datasets

TFDS is a collection of datasets ready to use with TensorFlow, Jax, ...
https://www.tensorflow.org/datasets
Apache License 2.0
4.29k stars 1.54k forks source link

Fix bug that initialized the alternative file formats incorrectly #5477

Closed copybara-service[bot] closed 3 months ago

copybara-service[bot] commented 3 months ago

Fix bug that initialized the alternative file formats incorrectly

It calls self.add_alterative_file_format, which assumes the info proto is already created, but this happens later in the init. Since the alternative file formats in the proto is also initialized later in the init, we do not need to call add_alternative_file_format