tensorflow / tensorflow/datasets

Checksums for the dataset imagenette has changed

Open
#3,115 4 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

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

  • Yes

Reproduction instructions

!rm -r ~/tensorflow_datasets/imagenette/
!rm -r ~/tensorflow_datasets/downloads
import tensorflow_datasets as tfds
tfds.load('imagenette')

Link to logs

---------------------------------------------------------------------------

NonMatchingChecksumError                  Traceback (most recent call last)

<ipython-input-25-521438880de5> in <module>()
      1 get_ipython().system('rm -r ~/tensorflow_datasets/imagenette/')
      2 get_ipython().system('rm -r ~/tensorflow_datasets/downloads')
----> 3 tfds.load('imagenette')

---

NonMatchingChecksumError: Artifact https://s3.amazonaws.com/fast-ai-imageclas/imagenette2.tgz, downloaded to /root/tensorflow_datasets/downloads/s3_fast-ai-imageclas_imagenette2s_llZjKkuLrzn8hoOF5IBPy4iCn1Rqq1SaRaYZXrNpw.tgz.tmp.137614d36be841a0bfb1615c4429f071/imagenette2.tgz,
has wrong checksum. Expected: UrlInfo(size=1.45 GiB, checksum='de32de18a7d8df0114d5e2c3c14cafb9558e8f00441a73aa7953681ad02be49c', 
filename='imagenette2.tgz'). Got: UrlInfo(size=1.45 GiB, 
checksum='6cbfac238434d89fe99e651496f0812ebc7a10fa62bd42d6874042bf01de4efd', 
filename='imagenette2.tgz').To debug, see: https://www.tensorflow.org/datasets/overview#fixing_nonmatchingchecksumerror

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 by reproducing the failure with the shown cleanup commands and tfds.load('imagenette'). Compare the downloaded imagenette2.tgz checksum with the expected value reported in the error; the issue is done when loading imagenette succeeds with the current artifact checksum.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.