From 40a533530be97272f6d9f3a6a43e6c38d07067b4 Mon Sep 17 00:00:00 2001 From: Eren Golge Date: Mon, 9 Dec 2019 13:27:46 +0100 Subject: [PATCH] small fix --- train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train.py b/train.py index 314d3af3..0c3cff03 100644 --- a/train.py +++ b/train.py @@ -592,7 +592,7 @@ def main(args): # pylint: disable=redefined-outer-name args.restore_step = 0 if use_cuda: - model = model.cuda() + model.cuda() criterion.cuda() if criterion_st: criterion_st.cuda()