File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 33import click
44
55from benchmark .constants import DEFAULT_SCALE_FACTOR
6- from benchmark .job .load_info import JobLoadInfo
76from util .log import DBGYM_LOGGER_NAME
87from util .shell import subprocess_run
98from util .workspace import (
1312 link_result ,
1413)
1514
16- JOB_TABLES_URL = "https://homepages.cwi.nl/~boncz/job/imdb.tgz"
15+ # JOB_TABLES_URL = "https://homepages.cwi.nl/~boncz/job/imdb.tgz" # This link stopped working for me
16+ JOB_TABLES_URL = "https://drive.google.com/uc?id=19m0zDpphAw0Bu9Irr_ta9EGr5k85hiN1"
1717JOB_QUERY_NAMES = [
1818 "1a" ,
1919 "1b" ,
@@ -177,7 +177,8 @@ def _download_job_data(dbgym_cfg: DBGymConfig) -> None:
177177
178178 logging .getLogger (DBGYM_LOGGER_NAME ).info (f"Downloading: { expected_symlink_dpath } " )
179179 real_data_path = dbgym_cfg .cur_task_runs_data_path (mkdir = True )
180- subprocess_run (f"curl -O { JOB_TABLES_URL } " , cwd = real_data_path )
180+ # subprocess_run(f"curl -O {JOB_TABLES_URL}", cwd=real_data_path) # This is if we're using a non-Google-Drive link
181+ subprocess_run (f"gdown { JOB_TABLES_URL } " , cwd = real_data_path )
181182 job_data_dpath = dbgym_cfg .cur_task_runs_data_path (
182183 default_tables_dname (DEFAULT_SCALE_FACTOR ), mkdir = True
183184 )
Original file line number Diff line number Diff line change @@ -135,3 +135,4 @@ Werkzeug==3.0.1
135135wrapt == 1.14.1
136136zipp == 3.17.0
137137streamlit == 1.39.0
138+ gdown == 5.2.0
You can’t perform that action at this time.
0 commit comments