Spaces:
Running
Running
update
Browse files
examples/clean_unet_aishell/step_2_train_model.py
CHANGED
@@ -34,6 +34,8 @@ from toolbox.torchaudio.models.clean_unet.training import LinearWarmupCosineDeca
|
|
34 |
from toolbox.torchaudio.models.clean_unet.loss import MultiResolutionSTFTLoss
|
35 |
from toolbox.torchaudio.models.clean_unet.metrics import batch_pesq
|
36 |
|
|
|
|
|
37 |
|
38 |
def get_args():
|
39 |
parser = argparse.ArgumentParser()
|
|
|
34 |
from toolbox.torchaudio.models.clean_unet.loss import MultiResolutionSTFTLoss
|
35 |
from toolbox.torchaudio.models.clean_unet.metrics import batch_pesq
|
36 |
|
37 |
+
torch.autograd.set_detect_anomaly(True)
|
38 |
+
|
39 |
|
40 |
def get_args():
|
41 |
parser = argparse.ArgumentParser()
|