-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
Pycaffe fixes and example reformation #2058
Conversation
@@ -104,15 +104,20 @@ def main(argv): | |||
|
|||
if args.gpu: | |||
print('GPU mode') | |||
else: | |||
print 'CPU mode' |
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.
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.
Right -- thanks for the reminder. This was just a cherry-pick so I'm still making changes and combing over.
9f949a5
to
da26c85
Compare
...and fix up detector quote convention.
- download CaffeNet if it isn't there - switch to caffe.Net - reshape net for single input - explain param, bias indexing - update output for N-D blobs
- N-D blob parameter dimensions - add filtering section to net surgery example - make Gaussian blur and Sobel edge kernels - alter biases - do flat assignment instead of reshape and explain memory layout - make dir for surgery files
- add a little explanation - solve from Python and the command line - time scikit-learn and caffe - fix test iterations (number of instances / batch size)
call forward to warm-start the demo so the first request isn't slow.
@longjon I'm merging these fixes to the broken parts of pycaffe and examples but the real switch to |
Pycaffe fixes and example reformation
Fix recent issues with pycaffe examples.
The
caffe.Net
interface and solver are the core of pycaffe. TheClassifier
andDetector
"convenience" classes were a mistake on my part that seem to have mostly confused. To better illustrate the main interface this PR will switch tocaffe.Net
throughout (or at least take steps in that direction).everywhereexcept for classification and detection examplesNext up
caffe.Net
everywhere and deprecateClassifier
,Detector
caffe.Net
,caffe.io
, solver interface