Spaces:
Running
Running
modify fx norm
Browse files
__pycache__/inference.cpython-311.pyc
CHANGED
Binary files a/__pycache__/inference.cpython-311.pyc and b/__pycache__/inference.cpython-311.pyc differ
|
|
inference.py
CHANGED
@@ -144,7 +144,7 @@ class MasteringStyleTransfer:
|
|
144 |
# Apply fx normalization for input audio during mastering style transfer
|
145 |
if normalize:
|
146 |
print(f"before normalization: {data.shape}")
|
147 |
-
data = self.fx_normalizer.normalize_audio(data, 'mixture')
|
148 |
print(f"after normalization: {data.shape}")
|
149 |
|
150 |
# Convert to torch tensor
|
|
|
144 |
# Apply fx normalization for input audio during mastering style transfer
|
145 |
if normalize:
|
146 |
print(f"before normalization: {data.shape}")
|
147 |
+
data = self.fx_normalizer.normalize_audio(data.T, 'mixture').T
|
148 |
print(f"after normalization: {data.shape}")
|
149 |
|
150 |
# Convert to torch tensor
|
modules/__pycache__/data_normalization.cpython-311.pyc
CHANGED
Binary files a/modules/__pycache__/data_normalization.cpython-311.pyc and b/modules/__pycache__/data_normalization.cpython-311.pyc differ
|
|