tensorflow / tensorflow/datasets

NonMatchingChecksumError while downloading 'multi_news' or 'cnn_dailymail' dataset

Open
#5,232 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
4.6k
Forks
1.6k
Avg merge
3h 54m
Merged PRs (30d)
1

Description

Short description
Description of the bug.

getting NonMatchingChecksumError while downloading multi_news or cnn_dailymail datasets.

Environment information

  • Operating System: : Colab

  • Python version: : 3.10

  • tensorflow-datasets/tfds-nightly version: tensorflow-datasets 4.9.4

  • tensorflow/tf-nightly version: tensorflow 2.15

  • Does the issue still exists with the last tfds-nightly package (pip install --upgrade tfds-nightly) ? Yes

Reproduction instructions

(https://colab.sandbox.google.com/gist/singhniraj08/9f80bc167706b9b351b75e003dcad39c/untitled2.ipynb)

If you share a colab, make sure to update the permissions to share it.

Link to logs

NonMatchingChecksumError: Artifact https://drive.google.com/uc?export=download&id=1vRY2wM6rlOZrf9exGTm5pXj5ExlVwJ0C, downloaded to /root/tensorflow_datasets/downloads/ucexport_download_id_1vRY2wM6rlOZrf9exGTm5pXj5OT0RBXCg5OWBrYMJXysF1hdrkZtPhK-7JWdYi2HrYYc.tmp.c134b8c8d86c4764bad073c9d79db385/download, has wrong checksum:

  • Expected: UrlInfo(size=245.06 MiB, checksum='64ae4d2483b248c9664b50bacfab6821f8a3e93f382c7587686fa4a127f77626', filename='multi-news-original-20190725T164630Z-001.zip')
  • Got: UrlInfo(size=2.40 KiB, checksum='d86ce49a2cafe0ed25eae0c9a5ed9abf8db1e34414e3acb667e316ad221c73c5', filename='download')
    To debug, see: https://www.tensorflow.org/datasets/overview#fixing_nonmatchingchecksumerror

Expected behavior
What you expected to happen.

Dataset should download without any issues.

Additional context
Add any other context about the problem here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Colab reproduction and the download entry points for the multi_news and cnn_dailymail datasets. Compare the expected and received Google Drive artifacts and identify the dataset metadata or source that needs attention; done means both datasets download successfully without NonMatchingChecksumError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.