Spaces:
Running
on
Zero
Running
on
Zero
alibabasglab
commited on
Update dataloader/dataloader.py
Browse files- dataloader/dataloader.py +1 -1
dataloader/dataloader.py
CHANGED
@@ -87,7 +87,7 @@ def audio_norm(x):
|
|
87 |
x = x * scalarx
|
88 |
|
89 |
# Return the doubly normalized audio signal.
|
90 |
-
return x,
|
91 |
|
92 |
class DataReader(object):
|
93 |
"""
|
|
|
87 |
x = x * scalarx
|
88 |
|
89 |
# Return the doubly normalized audio signal.
|
90 |
+
return x, 1/(scalar * scalarx + EPS)
|
91 |
|
92 |
class DataReader(object):
|
93 |
"""
|