-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Use gflags to parse command line arguments for convert_imageset #857
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
Conversation
Cool, thanks for this! If you would like, you can also consolidate the utility into the new caffe interface (see tools/caffe.cpp), but this is totally up to you :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This may no longer be needed after the most recent bugfix.
I seem to have messed up this git branch by rebasing on the latest dev. How should I clean this up? |
Try an interactive rebase of your currently troubled branch by |
Has anyone decided to merge or reject this PR? |
This is ready for merge once the existing references to Thanks for the improvements to the utility! |
@shelhamer |
Use gflags to parse command line arguments for convert_imageset
Thanks for the named args and simplified logic! |
#847 still not solved.
leveldb backend is ok, but not lmdb backend. I am using the master branch |
Are you posting to the wrong place? This PR has changed the syntax for calling |
I am going home now and I will review my code tomorrow and update the result here. thx 发自我的 iPhone
|
@netheril96 ,you are right. I had posted to the wrong place. sorry. |
Use gflags to parse command line arguments for convert_imageset
Use gflags to parse command line arguments for convert_imageset
In the dev branch, many new options have been added to the utility convert_imageset, which makes the old style parsing tedious and the usage hard to remember. This PR aims to replace positional argument parsing with
gflags
, now that it becomes a dependency.