mirror of https://github.com/coqui-ai/TTS.git
small fix
This commit is contained in:
parent
956f8b7672
commit
40a533530b
2
train.py
2
train.py
|
@ -592,7 +592,7 @@ def main(args): # pylint: disable=redefined-outer-name
|
||||||
args.restore_step = 0
|
args.restore_step = 0
|
||||||
|
|
||||||
if use_cuda:
|
if use_cuda:
|
||||||
model = model.cuda()
|
model.cuda()
|
||||||
criterion.cuda()
|
criterion.cuda()
|
||||||
if criterion_st:
|
if criterion_st:
|
||||||
criterion_st.cuda()
|
criterion_st.cuda()
|
||||||
|
|
Loading…
Reference in New Issue