fixed bug that was making parser pick up unkown args from the environ… #64
1145
SimSwap colab.ipynb
1145
SimSwap colab.ipynb
File diff suppressed because it is too large
Load Diff
@@ -69,7 +69,7 @@ class BaseOptions():
|
||||
def parse(self, save=True):
|
||||
if not self.initialized:
|
||||
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
|
||||
|
||||
str_ids = self.opt.gpu_ids.split(',')
|
||||
|
||||
Reference in New Issue
Block a user