train model
Browse files- scripts/train_model.py +4 -4
scripts/train_model.py
CHANGED
@@ -11,10 +11,10 @@ from torch.utils.data import DataLoader
|
|
11 |
import torch.multiprocessing as mp
|
12 |
|
13 |
|
14 |
-
x = input('Are you sure? [y/N] ')
|
15 |
-
|
16 |
-
if x not in ('y', 'Y', 'yes'):
|
17 |
-
|
18 |
|
19 |
|
20 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
|
|
11 |
import torch.multiprocessing as mp
|
12 |
|
13 |
|
14 |
+
# x = input('Are you sure? [y/N] ')
|
15 |
+
#
|
16 |
+
# if x not in ('y', 'Y', 'yes'):
|
17 |
+
# sys.exit(0)
|
18 |
|
19 |
|
20 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|