Skip to content

Commit

Permalink
Update paths in preprocessing_pretraining
Browse files Browse the repository at this point in the history
  • Loading branch information
ChesterHuynh committed May 5, 2021
1 parent cf29645 commit 3ba8401
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/preprocess_pretraining.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@


if __name__ == "__main__":
src = Path("../checkpoints/pretrained_musicnet")
dst = Path("/home/magjywang/Wavenet-CPC-Music-Translation/checkpoints/umtcpc-pretrained")
data_dir = Path("/home/magjywang/Wavenet-CPC-Music-Translation/data/musicnet/preprocessed")
repo_path = Path(__file__).parents[1]
src = repo_path / "checkpoints/pretrained_musicnet"
dst = repo_path / "checkpoints/umtcpc-pretrained"
data_dir = repo_path / "data/musicnet/preprocessed"

if not os.path.exists(dst):
os.makedirs(dst)
Expand Down

0 comments on commit 3ba8401

Please sign in to comment.