Skip to content

Commit

Permalink
doc: sync with latest changes to the DAG converter
Browse files Browse the repository at this point in the history
  • Loading branch information
vedaldi committed Oct 12, 2015
1 parent 9308c75 commit 4d40a19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/site/docs/quick.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ im_ = im_ - net.meta.normalization.averageImage ;
net.eval({'data', im_}) ;
% obtain the CNN otuput
scores = net.vars(net.getVarIndex('prediction')).value ;
scores = net.vars(net.getVarIndex('prob')).value ;
scores = squeeze(gather(scores)) ;
% show the classification results
Expand Down
2 changes: 1 addition & 1 deletion examples/cnn_imagenet_camdemo.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function cnn_imagenet_camdemo()

if strcmp(model, 'imagenet-googlenet-dag')
net = dagnn.DagNN.loadobj(net) ;
out = net.getVarIndex('prediction') ;
out = net.getVarIndex('prob') ;
normalization = net.meta.normalization ;
description = net.meta.classes.description ;
dag = true ;
Expand Down

0 comments on commit 4d40a19

Please sign in to comment.