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 3
3
import click
4
4
5
5
from benchmark .constants import DEFAULT_SCALE_FACTOR
6
- from benchmark .job .load_info import JobLoadInfo
7
6
from util .log import DBGYM_LOGGER_NAME
8
7
from util .shell import subprocess_run
9
8
from util .workspace import (
13
12
link_result ,
14
13
)
15
14
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"
17
17
JOB_QUERY_NAMES = [
18
18
"1a" ,
19
19
"1b" ,
@@ -177,7 +177,8 @@ def _download_job_data(dbgym_cfg: DBGymConfig) -> None:
177
177
178
178
logging .getLogger (DBGYM_LOGGER_NAME ).info (f"Downloading: { expected_symlink_dpath } " )
179
179
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 )
181
182
job_data_dpath = dbgym_cfg .cur_task_runs_data_path (
182
183
default_tables_dname (DEFAULT_SCALE_FACTOR ), mkdir = True
183
184
)
Original file line number Diff line number Diff line change @@ -135,3 +135,4 @@ Werkzeug==3.0.1
135
135
wrapt == 1.14.1
136
136
zipp == 3.17.0
137
137
streamlit == 1.39.0
138
+ gdown == 5.2.0
You can’t perform that action at this time.
0 commit comments