Bug: need to specify hash_type='md5' in densenet_training_array.ipynb
還沒有人認領這個 Issue。
評估
- 難度
- 1/5
- 預估耗時
- 1 小時以內
- 新手友好度
- 92/100
- Issue 類型
- 缺陷
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
- 技術堆疊
- jupyter-notebook
研究方向
開啟 tutorials/3d_regression/densenet_training_array.ipynb,找到針對 IXI-T1.tar 的 download_and_extract 呼叫。使用現有的 md5 值傳入 hash_type='md5',然後執行 notebook 或其下載步驟,以確認雜湊檢查成功。
由索引模型根據 Issue 內容生成。
描述
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).
- 主要語言
- Jupyter Notebook
- 星號
- 2.5k
- 分支
- 803
- 平均合併
- 6 天 22 小時
- 30 天內合併 PR
- 3
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
Project-MONAI/tutorials 的其他 Issue
-
難度 1/5 1-3 小時 新手友好度 76/100
Project-MONAI/tutorials#2069 ·
-
難度 1/5 1 小時以內 新手友好度 85/100
Project-MONAI/tutorials#1704 ·
-
難度 4/5 3-5 天 新手友好度 62/100
Project-MONAI/tutorials#2071 ·
-
難度 3/5 1-2 天 新手友好度 35/100
Project-MONAI/tutorials#2067 ·
-
難度 3/5 1-2 天 新手友好度 38/100
Project-MONAI/tutorials#2060 ·
查看 Project-MONAI/tutorials 的全部 Issue
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 76/100
vllm-project/vllm#57974 · 4 則留言 ·
-
bug
難度 2/5 1-3 小時 新手友好度 90/100
torchgeo/torchgeo-bench#400 · 1 則留言 ·
-
難度 1/5 1 小時以內 新手友好度 90/100
open-compass/VLMEvalKit#1698 ·
-
難度 2/5 1-3 小時 新手友好度 84/100
-
難度 2/5 1-3 小時 新手友好度 86/100