Commit 0bf50c50 authored by Shreyan Chowdhury's avatar Shreyan Chowdhury

add dataset paths for shreyan laptop

parent 9a6cf459
...@@ -19,7 +19,7 @@ if hostname == 'rechenknecht1.cp.jku.at': ...@@ -19,7 +19,7 @@ if hostname == 'rechenknecht1.cp.jku.at':
path_mtgjamendo_annotations_test = '/media/rk1/shared/datasets/MTG-Jamendo/MTG-Jamendo_annotations/test_processed.tsv' path_mtgjamendo_annotations_test = '/media/rk1/shared/datasets/MTG-Jamendo/MTG-Jamendo_annotations/test_processed.tsv'
path_mtgjamendo_audio_dir = '/media/rk1/shared/datasets/MTG-Jamendo/MTG-Jamendo_audio' path_mtgjamendo_audio_dir = '/media/rk1/shared/datasets/MTG-Jamendo/MTG-Jamendo_audio'
if hostname == 'rechenknecht2.cp.jku.at': elif hostname == 'rechenknecht2.cp.jku.at':
path_data_cache = '/media/rk2/shared/kofta_cached_datasets' path_data_cache = '/media/rk2/shared/kofta_cached_datasets'
# midlevel # midlevel
...@@ -34,7 +34,7 @@ if hostname == 'rechenknecht2.cp.jku.at': ...@@ -34,7 +34,7 @@ if hostname == 'rechenknecht2.cp.jku.at':
path_mtgjamendo_annotations_test = '/media/rk2/shared/datasets/MTG-Jamendo/MTG-Jamendo_annotations/test_processed.tsv' path_mtgjamendo_annotations_test = '/media/rk2/shared/datasets/MTG-Jamendo/MTG-Jamendo_annotations/test_processed.tsv'
path_mtgjamendo_audio_dir = '/media/rk2/shared/datasets/MTG-Jamendo/MTG-Jamendo_audio' path_mtgjamendo_audio_dir = '/media/rk2/shared/datasets/MTG-Jamendo/MTG-Jamendo_audio'
if hostname == 'rechenknecht3.cp.jku.at': elif hostname == 'rechenknecht3.cp.jku.at':
path_data_cache = '/media/rk3/shared/kofta_cached_datasets' path_data_cache = '/media/rk3/shared/kofta_cached_datasets'
# midlevel # midlevel
...@@ -49,7 +49,23 @@ if hostname == 'rechenknecht3.cp.jku.at': ...@@ -49,7 +49,23 @@ if hostname == 'rechenknecht3.cp.jku.at':
path_mtgjamendo_annotations_test = '/media/rk3/shared/datasets/MTG-Jamendo/MTG-Jamendo_annotations/test_processed.tsv' path_mtgjamendo_annotations_test = '/media/rk3/shared/datasets/MTG-Jamendo/MTG-Jamendo_annotations/test_processed.tsv'
path_mtgjamendo_audio_dir = '/media/rk3/shared/datasets/MTG-Jamendo/MTG-Jamendo_audio' path_mtgjamendo_audio_dir = '/media/rk3/shared/datasets/MTG-Jamendo/MTG-Jamendo_audio'
if hostname == 'shreyan-All-Series': elif hostname == 'rechenknecht5.cp.jku.at':
path_data_cache = '/media/rk5/shared/kofta_cached_datasets'
# midlevel
path_midlevel_annotations_dir = '/media/rk5/shared/datasets/midlevel/metadata_annotations'
path_midlevel_annotations = '/media/rk5/shared/datasets/midlevel/metadata_annotations/annotations.csv'
path_midlevel_audio_dir = '/media/rk3/shared/datasets/midlevel/audio'
# mtgjamendo
path_mtgjamendo_annotations_dir = '/media/rk5/shared/datasets/MTG-Jamendo/MTG-Jamendo_annotations'
path_mtgjamendo_annotations_train = '/media/rk5/shared/datasets/MTG-Jamendo/MTG-Jamendo_annotations/train_processed.tsv'
path_mtgjamendo_annotations_val = '/media/rk5/shared/datasets/MTG-Jamendo/MTG-Jamendo_annotations/validation_processed.tsv'
path_mtgjamendo_annotations_test = '/media/rk5/shared/datasets/MTG-Jamendo/MTG-Jamendo_annotations/test_processed.tsv'
path_mtgjamendo_audio_dir = '/media/rk5/shared/datasets/MTG-Jamendo/MTG-Jamendo_audio'
elif hostname == 'shreyan-All-Series':
path_data_cache = '/mnt/2tb/datasets/data_caches' path_data_cache = '/mnt/2tb/datasets/data_caches'
# midlevel # midlevel
...@@ -64,7 +80,7 @@ if hostname == 'shreyan-All-Series': ...@@ -64,7 +80,7 @@ if hostname == 'shreyan-All-Series':
path_mtgjamendo_annotations_test = '/mnt/2tb/datasets/MTG-Jamendo/MTG-Jamendo_annotations/test_processed.tsv' path_mtgjamendo_annotations_test = '/mnt/2tb/datasets/MTG-Jamendo/MTG-Jamendo_annotations/test_processed.tsv'
path_mtgjamendo_audio_dir = '/mnt/2tb/datasets/MTG-Jamendo/MTG-Jamendo_audio' path_mtgjamendo_audio_dir = '/mnt/2tb/datasets/MTG-Jamendo/MTG-Jamendo_audio'
if hostname == 'shreyan-HP': elif hostname == 'shreyan-HP':
rk = 'rk2' rk = 'rk2'
path_data_cache = '/mnt/2tb/datasets/data_caches' path_data_cache = '/mnt/2tb/datasets/data_caches'
...@@ -80,5 +96,5 @@ if hostname == 'shreyan-HP': ...@@ -80,5 +96,5 @@ if hostname == 'shreyan-HP':
path_mtgjamendo_annotations_test = f'/home/shreyan/mounts/home@{rk}/shared/datasets/MTG-Jamendo/MTG-Jamendo_annotations/test_processed.tsv' path_mtgjamendo_annotations_test = f'/home/shreyan/mounts/home@{rk}/shared/datasets/MTG-Jamendo/MTG-Jamendo_annotations/test_processed.tsv'
path_mtgjamendo_audio_dir = f'/home/shreyan/mounts/home@{rk}/shared/datasets/MTG-Jamendo/MTG-Jamendo_audio' path_mtgjamendo_audio_dir = f'/home/shreyan/mounts/home@{rk}/shared/datasets/MTG-Jamendo/MTG-Jamendo_audio'
if hostname not in ['rechenknecht1.cp.jku.at', 'rechenknecht2.cp.jku.at', 'rechenknecht3.cp.jku.at', 'shreyan-All-Series', 'shreyan-HP']: else:
raise Exception(f"Paths not defined for {hostname}") raise Exception(f"Paths not defined for {hostname}")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment