Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usage: siamese.py [-h] --config CONFIG #1

Open
tumecan opened this issue Apr 4, 2019 · 0 comments
Open

usage: siamese.py [-h] --config CONFIG #1

tumecan opened this issue Apr 4, 2019 · 0 comments

Comments

@tumecan
Copy link

tumecan commented Apr 4, 2019

When i try to run siamese.py, I 'm getting the error below:

usage: siamese.py [-h] --config CONFIG
siamese.py: error: the following arguments are required: --config

How can i run this code ? I tried many thing bu I couldn't run.

FLAGS = None

def main(_):

# Load the configuration file.
with open(FLAGS.config, 'r') as f:
    config = yaml.load(f)

print('**********', config['experiment_name'],'**********')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant