tensorflow-vgg icon indicating copy to clipboard operation
tensorflow-vgg copied to clipboard

'function' object has no attribute 'config_file'

Open 644517236 opened this issue 6 years ago • 0 comments

(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

644517236 avatar Apr 08 '18 04:04 644517236