Skip to content

Commit

Permalink
tweak test case to expose bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
pluskid committed Sep 26, 2014
1 parent 6d3e23b commit e31d0ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/caffe/test/test_data/generate_sample_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

num_cols = 8
num_rows = 10
height = 5
height = 6
width = 5
total_size = num_cols * num_rows * height * width

Expand Down
2 changes: 1 addition & 1 deletion src/caffe/test/test_hdf5data_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ TYPED_TEST(HDF5DataLayerTest, TestRead) {
hdf5_data_param->set_batch_size(batch_size);
hdf5_data_param->set_source(*(this->filename));
int num_cols = 8;
int height = 5;
int height = 6;
int width = 5;

// Test that the layer setup got the correct parameters.
Expand Down

0 comments on commit e31d0ac

Please sign in to comment.