报错:
yaml.constructor.ConstructorError: could not determine a constructor for the tag 'tag:yaml.org,2002:python/object:argparse.Namespace'
原因:
使用os.path.join
时遇到的报错
源代码:
config = yaml.safe_load(file_data)
修改为:
config = yaml.unsafe_load(file_data)