Skip to content

Commit

Permalink
Fix evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanUhlich-sony committed May 7, 2021
1 parent 73dc139 commit d370a87
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 d370a87

Please sign in to comment.