summaryrefslogtreecommitdiff
path: root/train.py
diff options
context:
space:
mode:
authorJordan Gong <jordan.gong@protonmail.com>2021-01-12 20:23:40 +0800
committerJordan Gong <jordan.gong@protonmail.com>2021-01-12 20:23:40 +0800
commit4495e10e5159ee54814e73ae7bfb27db2754ae69 (patch)
treeac2bd997784229d58b72188dfa32d1c1edd0aa57 /train.py
parent0c027822a48440be59f9b4889831af7879ecf277 (diff)
Add Google TPU support
Diffstat (limited to 'train.py')
-rw-r--r--train.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/train.py b/train.py
index d91dcd0..e845d6f 100644
--- a/train.py
+++ b/train.py
@@ -1,9 +1,7 @@
from config import config
from models import Model
from utils.dataset import ClipConditions
-from utils.misc import set_visible_cuda
-set_visible_cuda(config['system'])
model = Model(config['system'], config['model'], config['hyperparameter'])
# 3 models for different conditions