Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TFDS datasets to auto-detect the checksums.tsv file #461

Merged
merged 1 commit into from Jan 20, 2021

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Oct 20, 2020

Update TFDS datasets to auto-detect the checksums.tsv file

With TFDS 4.0.0+, datasets should be implemented as self-contained folder with the following structure:

my_dataset/
  my_dataset.py
  my_dataset_test.py
  checksums.tsv
  dummy_data/

checksums.tsv is automatically detected, so add_checksums_dir isn't required anymore

See https://www.tensorflow.org/datasets/add_dataset#write_your_dataset for detail.

@google-cla google-cla bot added the cla: yes label Oct 20, 2020
@copybara-service copybara-service bot changed the title Rename tfds.download.add_checksums_dir -> tfds.deprecated.add_checksums_dir Update TFDS datasets to auto-detect the checksums.tsv file Jan 20, 2021
With TFDS 4.0.0+, datasets should be implemented as self-contained folder with the following structure:

```
my_dataset/
  my_dataset.py
  my_dataset_test.py
  checksums.tsv
  dummy_data/
```

`checksums.tsv` is automatically detected, so `add_checksums_dir` isn't required anymore

See https://www.tensorflow.org/datasets/add_dataset#write_your_dataset for detail.

PiperOrigin-RevId: 352795685
@copybara-service copybara-service bot merged commit 10866c4 into master Jan 20, 2021
@copybara-service copybara-service bot deleted the test_338048880 branch January 20, 2021 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant