Browse Source

更新 'data.py'

master
lwj 1 month ago
parent
commit
258ca92e7b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      data.py

+ 1
- 1
data.py View File

@@ -69,7 +69,7 @@ def load_mixtures_and_sources(batch):
mix_path = mix_info[0]
s1_path = s1_info[0]
s2_path = s2_info[0]
# assert mix_info[1] == s1_info[1] and s1_info[1] == s2_info[1]
assert mix_info[1] == s1_info[1] and s1_info[1] == s2_info[1]
# read wav file
mix, _ = librosa.load(mix_path, sr=sample_rate)
s1, _ = librosa.load(s1_path, sr=sample_rate)


Loading…
Cancel
Save