asahi417 commited on
Commit
e220bc4
·
1 Parent(s): 775b8cf
Files changed (1) hide show
  1. download_audio.py +1 -0
download_audio.py CHANGED
@@ -123,6 +123,7 @@ def get_audio(dataframe: pd.DataFrame):
123
  try:
124
  print(f"LOAD AUDIO FROM {features[f'{side}.path']}")
125
  wav, sr = sf.read(features[f"{side}.path"])
 
126
  if wav.ndim > 1:
127
  wav = wav[:, 0]
128
  if sr != sampling_rate:
 
123
  try:
124
  print(f"LOAD AUDIO FROM {features[f'{side}.path']}")
125
  wav, sr = sf.read(features[f"{side}.path"])
126
+ print(f"wav shape:{wav.shape}")
127
  if wav.ndim > 1:
128
  wav = wav[:, 0]
129
  if sr != sampling_rate: