Skip to content

Commit

Permalink
rm PW
Browse files Browse the repository at this point in the history
  • Loading branch information
SilvioGiancola committed Feb 12, 2024
1 parent 5d591c8 commit e9f9e65
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tracklab/wrappers/datasets/soccernet/soccernet_game_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,12 +296,8 @@ def download_dataset(dataset_path, splits=("train", "valid", "test", "challenge"
"datasets automatically ? [i]"
f"({'/'.join(splits)})[/i]")
if download:
password = Prompt.ask("Password for videos "
"[i](received after filling the NDA at "
"[link=https://www.soccer-net.org/data]"
"https://www.soccer-net.org/data[/link])[/i]")
mySoccerNetDownloader.downloadDataTask(task="gamestate-2024",
split=splits, password=password)
split=splits)
for split in splits:
with zipfile.ZipFile(dataset_path/"gamestate-2024"/f"{split}.zip", 'r') as zf:
zf.extractall(dataset_path / split)

0 comments on commit e9f9e65

Please sign in to comment.