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

How to set arguments: #53

Open
yoshida-gisc opened this issue Jan 30, 2019 · 1 comment
Open

How to set arguments: #53

yoshida-gisc opened this issue Jan 30, 2019 · 1 comment

Comments

@yoshida-gisc
Copy link

yoshida-gisc commented Jan 30, 2019

I understand this issue is very basic problem.
In evaluate_mobilenet.py, how should I set my directry (C:\users\ ...), images, and resize option.
Could you show a sample in your case to me??
###############
parser = argparse.ArgumentParser(description='Evaluate NIMA(Inception ResNet v2)')
parser.add_argument('-dir', type=str, default=None,
help='Pass a directory to evaluate the images in it')
parser.add_argument('-img', type=str, default=[None], nargs='+',
help='Pass one or more image paths to evaluate them')
parser.add_argument('-resize', type=str, default='false',
help='Resize images to 224x224 before scoring')
parser.add_argument('-rank', type=str, default='true',
help='Whether to tank the images after they have been scored')
###############

Thank you so much ...

@yoshida-gisc
Copy link
Author

Is it enough:
(in cmd) > python evaluate_mobilenet.py -dir C:\Users** -resize true
??

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