formatting
This commit is contained in:
parent
0942092426
commit
3326c6d37f
@ -1,15 +1,10 @@
|
||||
|
||||
|
||||
dataset_conf:
|
||||
filter_conf:
|
||||
max_length: 2048
|
||||
min_length: 0
|
||||
|
||||
resample_conf:
|
||||
resample_rate: 16000
|
||||
|
||||
speed_perturb: false
|
||||
|
||||
feature_extraction_conf:
|
||||
feature_type: 'mfcc'
|
||||
num_ceps: 80
|
||||
@ -17,17 +12,13 @@ dataset_conf:
|
||||
frame_shift: 10
|
||||
frame_length: 25
|
||||
dither: 1.0
|
||||
|
||||
feature_dither: 0.0
|
||||
|
||||
spec_aug: true
|
||||
spec_aug_conf:
|
||||
#warp_for_time: false
|
||||
num_t_mask: 1
|
||||
num_f_mask: 1
|
||||
max_t: 20
|
||||
max_f: 40
|
||||
|
||||
shuffle: true
|
||||
shuffle_conf:
|
||||
shuffle_size: 1500
|
||||
@ -35,8 +26,6 @@ dataset_conf:
|
||||
batch_size: 100
|
||||
|
||||
model:
|
||||
input_dim: 80
|
||||
output_dim: 2
|
||||
hidden_dim: 64
|
||||
preprocessing:
|
||||
type: none
|
||||
@ -50,7 +39,6 @@ model:
|
||||
optim: adam
|
||||
optim_conf:
|
||||
lr: 0.001
|
||||
#warmup_step: 2000
|
||||
|
||||
training_config:
|
||||
grad_clip: 5
|
||||
|
||||
@ -13,7 +13,6 @@
|
||||
# limitations under the License.
|
||||
|
||||
import torch
|
||||
import torch.nn.functional as F
|
||||
|
||||
from kws.utils.mask import padding_mask
|
||||
|
||||
|
||||
@ -13,8 +13,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import numpy as np
|
||||
|
||||
import torch
|
||||
import torch.nn as nn
|
||||
import torch.nn.functional as F
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from typing import List, Optional
|
||||
from typing import Optional
|
||||
|
||||
import torch
|
||||
import torch.nn as nn
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user