tensorflow / tensorflow/datasets
citrus_leaves, dataset not working
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 1.6k
- Avg merge
- 3h 54m
- Merged PRs (30d)
- 1
Description
(train_ds, val_ds, test_ds), metadata = tfds.load(
'citrus_leaves',
split=['train[:80%]', 'train[80%:90%]', 'train[90%:]'],
with_info=True,
as_supervised=True
)
NonMatchingChecksumError: Artifact https://data.mendeley.com/datasets/3f83gxmv57/2/files/53398b67-6f0e-4a67-8384-e2b574b2ebf4/Citrus.zip, downloaded to /root/tensorflow_datasets/downloads/data.mend.com_data_3f83_2_file_5339-6f0e-4iYqD9qOtwvchSraf1DtLOTDd-g-auLIv-kMKGqn3wQU.zip.tmp.619a41d221f8438aad3cd1fb097a467f/Citrus.zip, has wrong checksum. This might indicate:
- The website may be down (e.g. returned a 503 status code). Please check the url.
- For Google Drive URLs, try again later as Drive sometimes rejects downloads when too many people access the same URL. See https://github.com/tensorflow/datasets/issues/1482
- The original datasets files may have been updated. In this case the TFDS dataset builder should be updated to use the new files and checksums. Sorry about that. Please open an issue or send us a PR with a fix.
- If you're adding a new dataset, don't forget to register the checksums as explained in: https://www.tensorflow.org/datasets/add_dataset#2_run_download_and_prepare_locally
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with the shown tfds.load call and inspect the citrus_leaves dataset builder and its download metadata. Verify whether the referenced Citrus.zip has changed, then update the dataset's download information so preparation completes with a matching checksum.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100