Spaces:
Configuration error
Configuration error
Kangarroar
commited on
Commit
·
3b00b6b
1
Parent(s):
dbc81ba
Update utils/hparams.py
Browse files- utils/hparams.py +2 -1
utils/hparams.py
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
import argparse
|
2 |
import os
|
3 |
import yaml
|
4 |
-
|
|
|
5 |
global_print_hparams = True
|
6 |
hparams = {}
|
7 |
|
|
|
1 |
import argparse
|
2 |
import os
|
3 |
import yaml
|
4 |
+
import torch
|
5 |
+
map_location = torch.device("cpu")
|
6 |
global_print_hparams = True
|
7 |
hparams = {}
|
8 |
|