|
@@ -58,6 +58,7 @@ class myargparse(argparse.ArgumentParser):
|
|
|
|
|
|
def save_args_yml(self, opt, isdict=False):
|
|
def save_args_yml(self, opt, isdict=False):
|
|
current_path = os.path.dirname(__file__)
|
|
current_path = os.path.dirname(__file__)
|
|
|
|
+ current_path = './j00645-w-xch'
|
|
if isdict:
|
|
if isdict:
|
|
with open(current_path + '/' + 'config.yml', mode='w', encoding='utf-8') as f:
|
|
with open(current_path + '/' + 'config.yml', mode='w', encoding='utf-8') as f:
|
|
yaml.safe_dump(opt, f)
|
|
yaml.safe_dump(opt, f)
|