Skip to content

Commit 4cd3be8

Browse files
authored
Merge pull request #3 from TE-StefanUhlich/fix_eval
Fix evaluation
2 parents 73dc139 + d370a87 commit 4cd3be8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

evaluator/music_demixing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def sdr(references, estimates):
9191
estimates = []
9292
for instrument in instruments:
9393
reference_file = join(self.test_data_path, music_name, instrument + ".wav")
94-
estimate_file = self.get_music_file_location(music_name, "bass")
94+
estimate_file = self.get_music_file_location(music_name, instrument)
9595
reference, _ = sf.read(reference_file)
9696
estimate, _ = sf.read(estimate_file)
9797
references.append(reference)

0 commit comments

Comments
 (0)