updated args

This commit is contained in:
William Falcon
2019-06-25 18:29:16 -04:00
parent 242cccc234
commit 775ca3736b
2 changed files with 2 additions and 3 deletions
@@ -158,8 +158,8 @@ if __name__ == '__main__':
model_name = 'model_template'
# use default args
pdb.set_trace()
root_dir = os.path.split(os.path.dirname(sys.modules['__main__'].__file__))[0]
root_dir = os.path.dirname(os.path.realpath(__file__))
root_dir = os.path.join(root_dir, sys.modules['__main__'].__file__)
parent_parser = get_default_parser(strategy='random_search', root_dir=root_dir)
# allow model to overwrite or extend args