Skip to content

Commit

Permalink
Merge pull request #3 from TE-StefanUhlich/fix_eval
Browse files Browse the repository at this point in the history
Fix evaluation
  • Loading branch information
skbly7 committed May 7, 2021
2 parents 73dc139 + d370a87 commit 4cd3be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evaluator/music_demixing.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def sdr(references, estimates):
estimates = []
for instrument in instruments:
reference_file = join(self.test_data_path, music_name, instrument + ".wav")
estimate_file = self.get_music_file_location(music_name, "bass")
estimate_file = self.get_music_file_location(music_name, instrument)
reference, _ = sf.read(reference_file)
estimate, _ = sf.read(estimate_file)
references.append(reference)
Expand Down

0 comments on commit 4cd3be8

Please sign in to comment.