Skip to content

Commit

Permalink
Update train.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenye234 committed Oct 28, 2023
1 parent 255856e commit a9d1eaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
model = Comospeech(nsymbols, 1, None, n_enc_channels, filter_channels, filter_channels_dp,
n_heads, n_enc_layers, enc_kernel, enc_dropout, window_size,
n_feats,teacher=False).cuda()
mode1 = load_teacher_model(model,checkpoint_dir='') # teacher model path
model = load_teacher_model(model,checkpoint_dir='') # teacher model path
optimizer = torch.optim.Adam(params=model.decoder.denoise_fn.parameters(), lr=learning_rate)


Expand Down

0 comments on commit a9d1eaa

Please sign in to comment.