修复下载数据集失败的问题,更新依赖

This commit is contained in:
czzhangheng 2025-11-08 19:24:54 +08:00
parent 29fd709c8c
commit b26e5a823c
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,6 @@ from tqdm import tqdm
# 定义文件完整性信息的字典
def check_and_download_data():
"""
检查 data 文件夹的完整性并根据缺失文件类型下载相应数据
@ -74,7 +73,7 @@ def download_adj_data(current_dir, max_retries=3):
下载并解压 adj.zip 文件并显示下载进度条
如果下载失败最多重试 max_retries
"""
url = "https://code.zhang-heng.com/static/adj.zip"
url = "http://code.zhang-heng.com/static/adj.zip"
retries = 0
while retries <= max_retries:

View File

@ -9,3 +9,4 @@ torchaudio
torchdiffeq
fastdtw
notebook
torchcde