Skip to content

Commit

Permalink
fixed base_url
Browse files Browse the repository at this point in the history
  • Loading branch information
JinZr committed Aug 10, 2024
1 parent 42c7729 commit aa4ac80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lhotse/recipes/spatial_librispeech.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
)

SPATIAL_LIBRISPEECH = ("train", "test")
BASE_URL = (
"https://download.developer.apple.com/ml-research/datasets/spatial-librispeech/v1/"
)
BASE_URL = "https://docs-assets.developer.apple.com/ml-research/datasets/spatial-librispeech/v1/"
META_DATA_URL = BASE_URL + "metadata.parquet"


Expand Down Expand Up @@ -87,6 +85,8 @@ def download_spatial_librispeech(
assert part in SPATIAL_LIBRISPEECH, f"Unknown dataset part: {part}"

corpus_dir = target_dir / "Spatial-LibriSpeech"
corpus_dir.mkdir(parents=True, exist_ok=True)

completed_detector = corpus_dir / ".completed"
if completed_detector.is_file():
logging.info(f"Skipping download, found {completed_detector}.")
Expand Down

0 comments on commit aa4ac80

Please sign in to comment.