Spaces:
Running
on
A10G
Running
on
A10G
Update src/generate_batch.py
Browse files- src/generate_batch.py +1 -0
src/generate_batch.py
CHANGED
@@ -71,6 +71,7 @@ def get_data(first_coeff_path, audio_path, device):
|
|
71 |
source_semantics_dict = scio.loadmat(source_semantics_path)
|
72 |
ref_coeff = source_semantics_dict['coeff_3dmm'][:1,:70] #1 70
|
73 |
|
|
|
74 |
if '.mp3' in audio_path:
|
75 |
print(audio_path)
|
76 |
mp3_to_wav(audio_path, audio_path.replace('.mp3','.wav'), 16000)
|
|
|
71 |
source_semantics_dict = scio.loadmat(source_semantics_path)
|
72 |
ref_coeff = source_semantics_dict['coeff_3dmm'][:1,:70] #1 70
|
73 |
|
74 |
+
print(audio_path)
|
75 |
if '.mp3' in audio_path:
|
76 |
print(audio_path)
|
77 |
mp3_to_wav(audio_path, audio_path.replace('.mp3','.wav'), 16000)
|