Skip to content

Commit

Permalink
arrange example images, update paths, bring back imagenet_pretrained
Browse files Browse the repository at this point in the history
  • Loading branch information
shelhamer committed Mar 19, 2014
1 parent c193976 commit faccb9a
Show file tree
Hide file tree
Showing 5 changed files with 272 additions and 2 deletions.
270 changes: 270 additions & 0 deletions examples/imagenet_pretrained.ipynb

Large diffs are not rendered by default.

File renamed without changes
Binary file added examples/images/lena.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion matlab/caffe/matcaffe_demo.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
% Or the equivalent based on where things are installed on your system
%
% Usage:
% im = imread('../../examples/cat.jpg');
% im = imread('../../examples/images/cat.jpg');
% scores = matcaffe_demo(im, 1);
% [score, class] = max(scores);

Expand Down
2 changes: 1 addition & 1 deletion src/caffe/test/test_images_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class ImagesLayerTest : public ::testing::Test {
std::ofstream outfile(filename, std::ofstream::out);
LOG(INFO) << "Using temporary file " << filename;
for (int i = 0; i < 5; ++i) {
outfile << "data/cat.jpg " << i;
outfile << "examples/images/cat.jpg " << i;
}
outfile.close();
}
Expand Down

0 comments on commit faccb9a

Please sign in to comment.