diff --git a/deepspeech/training/gradclip.py b/deepspeech/training/gradclip.py index 912861f64d96dd5edcdb72184587a7fb30016ad8..d0f9803d2664f697e58ea4ed2087d5c44526e1f9 100644 --- a/deepspeech/training/gradclip.py +++ b/deepspeech/training/gradclip.py @@ -46,7 +46,8 @@ class ClipGradByGlobalNormWithLog(paddle.nn.ClipGradByGlobalNorm): # debug log if i < 10: - logger.debug(f"Grad Before Clip: {p.name}: {float(sum_square.sqrt()) }") + logger.debug( + f"Grad Before Clip: {p.name}: {float(sum_square.sqrt()) }") # all parameters have been filterd out if len(sum_square_list) == 0: diff --git a/examples/aishell/s0/README.md b/examples/aishell/s0/README.md index 6d67d19a90c16d0f274e27f45387cc668320d6b1..fd4cf6a7f86da0f2c705d5bd18300c1ea99aeb3a 100644 --- a/examples/aishell/s0/README.md +++ b/examples/aishell/s0/README.md @@ -1,7 +1,8 @@ # Aishell-1 ## CTC -| Model | Config | Test set | CER | -| --- | --- | --- | --- | -| DeepSpeech2 | conf/deepspeech2.yaml | test | 0.078977 | -| DeepSpeech2 | release 1.8.5 | test | 0.080447 | +| Model | release | Config | Test set | CER | +| --- | --- | --- | --- | --- | +| DeepSpeech2 | 2.1 | conf/deepspeech2.yaml | test | 0.080428 | +| DeepSpeech2 | 2.0 | conf/deepspeech2.yaml | test | 0.078977 | +| DeepSpeech2 | 1.8.5 | - | test | 0.080447 | diff --git a/examples/aishell/s0/conf/augmentation.json b/examples/aishell/s0/conf/augmentation.json index a1a759e67f3a118b6754a60aead069742ede6ecc..5635d9c84c48938f746dcdffd1a16eff9ac8b98c 100644 --- a/examples/aishell/s0/conf/augmentation.json +++ b/examples/aishell/s0/conf/augmentation.json @@ -1,4 +1,13 @@ [ + { + "type": "speed", + "params": { + "min_speed_rate": 0.9, + "max_speed_rate": 1.1, + "num_rates": 3 + }, + "prob": 0.0 + }, { "type": "shift", "params": { diff --git a/examples/tiny/s1/conf/augmentation.json b/examples/tiny/s1/conf/augmentation.json index c1078393d2f2f57fbcb3b48ce0975c2612c39dcb..1987ad4245dcf5542f1e22a545c36899659acef9 100644 --- a/examples/tiny/s1/conf/augmentation.json +++ b/examples/tiny/s1/conf/augmentation.json @@ -1,12 +1,4 @@ [ - { - "type": "shift", - "params": { - "min_shift_ms": -5, - "max_shift_ms": 5 - }, - "prob": 1.0 - }, { "type": "speed", "params": { @@ -16,6 +8,14 @@ }, "prob": 0.0 }, + { + "type": "shift", + "params": { + "min_shift_ms": -5, + "max_shift_ms": 5 + }, + "prob": 1.0 + }, { "type": "specaug", "params": {