Bug: need to specify hash_type='md5' in densenet_training_array.ipynb
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 92/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- jupyter-notebook
- Domain
- machine-learning
Research direction
Open tutorials/3d_regression/densenet_training_array.ipynb and find the download_and_extract call for IXI-T1.tar. Pass hash_type='md5' with the existing md5 value, then run the notebook or its download step to confirm the hash check succeeds.
Written by the indexing model from the issue text.
Description
Bug
In the densenet_training_array.ipynb under tutorials/3d_regression, the notebook does not run as is. The wrong hash_type is used when download_and_extract is called.
Error
HashCheckError: sha256 hash check of downloaded file failed: url='https://developer.download.nvidia.com/assets/Clara/monai/tutorials/IXI-T1.tar', filepath=PosixPath('/tmp/tmpv5nnnrfy/ixi.tar'), expected sha256=34901a0593b41dd19c1a1f746eac2d58, The file may be corrupted or tampered with. Please retry the download or verify the source.
Fix
The call to download_and_extract(resource, tarfile_name, dataset_dir, md5) should be changed to download_and_extract(resource, tarfile_name, dataset_dir, md5, hash_type='md5') because it expects a 'sha256' by default which would be 64 characters (not 32).
- Dominant language
- Jupyter Notebook
- Stars
- 2.5k
- Forks
- 803
- Avg merge
- 6d 22h
- Merged PRs (30d)
- 3
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.
More from Project-MONAI/tutorials
-
Difficulty 1/5 1-3 hours Newbie friendliness 76/100
Project-MONAI/tutorials#2069 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Project-MONAI/tutorials#1704 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 62/100
Project-MONAI/tutorials#2071 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Project-MONAI/tutorials#2067 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
Project-MONAI/tutorials#2060 ·
All issues in Project-MONAI/tutorials
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
torchgeo/torchgeo-bench#400 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
open-compass/VLMEvalKit#1698 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100