Merge pull request #36655 from foldl:fix-float-wav-data
PiperOrigin-RevId: 302427524 Change-Id: I3d9201bce1f454e855a23553a6a1b1223cb398e0
This commit is contained in:
commit
fa3451c646
@ -117,7 +117,7 @@ def wav_to_features(sample_rate, clip_duration_ms, window_size_ms,
|
||||
for value in features.flatten():
|
||||
if i == 0:
|
||||
f.write('\n ')
|
||||
f.write(' ,%f' % value)
|
||||
f.write('%f, ' % value)
|
||||
i = (i + 1) % 10
|
||||
f.write('\n};\n')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user