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

Standardize Examples #1003

Merged
merged 2 commits into from
Aug 29, 2014
Merged

Standardize Examples #1003

merged 2 commits into from
Aug 29, 2014

Conversation

shelhamer
Copy link
Member

  • Stop ignoring examples -- but do ignore the generated files
  • Run from root
  • follow naming conventions

Preparation for #917 and #970.

# 1. reference, and not casually committed
# 2. custom, and live on their own unless they're deliberated contributed
data/*
examples/*
*model
*.solverstate
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will miss the NetParameter binaryproto files which don't have an extension. Maybe should add something like *_iter_[0-9]+ (I have no idea what the gitignore regex syntax is like beyond *..)

(I've always thought the netparameter snapshots should have some kind of extension too...maybe at some point we could change both snapshot outputs to have clearer extensions like *.NetParameter.binaryproto and *.SolverState.binaryproto.)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the catch -- I'll add an ignore for iter_* for now but the model zoo PR will more thoroughly address this by introducing file extensions. This is just groundwork. Stay tuned.

- ignore models and snapshots, means, and input databases
- excluding exceptions to commits is easier than including exhaustively
shelhamer added a commit that referenced this pull request Aug 29, 2014
@shelhamer shelhamer merged commit 7500b56 into BVLC:dev Aug 29, 2014
@shelhamer shelhamer deleted the examples-from-root branch August 29, 2014 02:47
mitmul pushed a commit to mitmul/caffe that referenced this pull request Sep 30, 2014
RazvanRanca pushed a commit to RazvanRanca/caffe that referenced this pull request Nov 4, 2014
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

Successfully merging this pull request may close these issues.

2 participants