tensorflow-vgg
tensorflow-vgg copied to clipboard
'function' object has no attribute 'config_file'
(windows7+Python 3.6.4+TensorFlow 1.7)
When I run python train_model_simple.py experiment.yaml , an error occur.
Error: 'function' object has no attribute 'config_file'
they are happens in
parser = argparse.ArgumentParser()
parser.add_argument('config_file', help='YAML formatted config file')
args = parser.parse_args()
with open(args.config_file) as fp:
config.update(yaml.load(fp))
How should I do,help me. Thanks