summaryrefslogtreecommitdiff
path: root/options/base_options.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-12 18:02:32 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-12 18:02:32 +0200
commit0ad66a09aaf55023d8eaff70094b0798b01adb19 (patch)
tree91b5c67271c6898f823cde7b52d46addcd7b3cca /options/base_options.py
parent5edd1efbc7b3c02d16b23401cc47a88f50fdf4d5 (diff)
mogrify script, flow scripts, dataset options
Diffstat (limited to 'options/base_options.py')
-rw-r--r--options/base_options.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/base_options.py b/options/base_options.py
index 5bdd85e..150174b 100644
--- a/options/base_options.py
+++ b/options/base_options.py
@@ -49,6 +49,7 @@ class BaseOptions():
self.initialize()
self.opt = self.parser.parse_args()
self.opt.isTrain = self.isTrain # train or test
+ return self.opt
str_ids = self.opt.gpu_ids.split(',')
self.opt.gpu_ids = []