Update URL checksums for new TensorFlow datasets
masterIf you are developing the library and need to add a new TensorFlow dataset or modify a zip file location, you must update the URL checksums following these steps:
- Place your dataset configuration file (e.g.,
live_iqa.py) into thetensorflow_datasetsfolder (typically located in${HOME}/.local/lib/python3.8/site-packagesif installed with the--userflag). - Update the
tensorflow_datasets/__init__.pyfile to import your new dataset (e.g.,from .image.live_iqa import LiveIQA). - Create a new checksum file and run the download/prepare script:
touch url_checksums/live_iqa.txt
python -m tensorflow_datasets.scripts.download_and_prepare \
--register_checksums \
--datasets=live_iqa- Copy the generated checksum from the resulting
live_iqa.txtfile into your project'surl_checksumsfolder.