Skip to content

Commit fd55536

Browse files
author
Jordi Pons
committed
Fixing typo when loading song describer dataset
1 parent b1dc322 commit fd55536

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/songdescriber_no-audio.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
# compute KLpasst between ref_path (reference audio that is loaded) and eval_path (generated audio)
3333
kl = passt_kld(ids=sdd_ids,
3434
eval_path=generated_path,
35-
load_ref_probabilities='load/passt_kld/song-describer__collectmean__reference_probabilities.pkl',
35+
load_ref_probabilities='load/passt_kld/song_describer__collectmean__reference_probabilities.pkl',
3636
collect='mean')
3737
print('[song describer dataset] KLpasst: ', kl, generated_path)
3838

@@ -51,7 +51,7 @@
5151
openl3_hop_size=hop,
5252
eval_path=generated_path,
5353
eval_files_extension='.wav',
54-
load_ref_embeddings='load/openl3_fd/song-describer__channels2__44100__openl3music__openl3hopsize0.5__batch4.npz',
54+
load_ref_embeddings='load/openl3_fd/song_describer__channels2__44100__openl3music__openl3hopsize0.5__batch4.npz',
5555
batching=batch
5656
)
5757

examples/songdescriber_nosinging_no-audio.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
# compute KLpasst between ref_path (reference audio that is loaded) and eval_path (generated audio)
3333
kl = passt_kld(ids=sdd_ids,
3434
eval_path=generated_path,
35-
load_ref_probabilities='load/passt_kld/song-describer-nosinging__collectmean__reference_probabilities.pkl',
35+
load_ref_probabilities='load/passt_kld/song_describer-nosinging__collectmean__reference_probabilities.pkl',
3636
collect='mean')
3737
print('[song describer dataset] KLpasst: ', kl, generated_path)
3838

@@ -51,7 +51,7 @@
5151
openl3_hop_size=hop,
5252
eval_path=generated_path,
5353
eval_files_extension='.wav',
54-
load_ref_embeddings='load/openl3_fd/song-describer-nosinging__channels2__44100__openl3music__openl3hopsize0.5__batch4.npz',
54+
load_ref_embeddings='load/openl3_fd/song_describer-nosinging__channels2__44100__openl3music__openl3hopsize0.5__batch4.npz',
5555
batching=batch
5656
)
5757

0 commit comments

Comments
 (0)