fixed bug that was making parser pick up unkown args from the environ… #64
No files matched your search
+572
-573
File diff suppressed because it is too large.
Load diff
@@ -69,7 +69,7 @@ class BaseOptions():
|
|||||||
def parse(self, save=True):
|
def parse(self, save=True):
|
||||||
if not self.initialized:
|
if not self.initialized:
|
||||||
self.initialize()
|
self.initialize()
|
||||||
self.opt = self.parser.parse_args()
|
self.opt, unknown_arg = self.parser.parse_known_args()
|
||||||
self.opt.isTrain = self.isTrain # train or test
|
self.opt.isTrain = self.isTrain # train or test
|
||||||
|
|
||||||
str_ids = self.opt.gpu_ids.split(',')
|
str_ids = self.opt.gpu_ids.split(',')
|
||||||
|
|||||||
Reference in new issue
Block a user