diff --git a/src/caffe/test/test_data/generate_sample_data.py b/src/caffe/test/test_data/generate_sample_data.py index 0516eff9158..2ab238611d8 100644 --- a/src/caffe/test/test_data/generate_sample_data.py +++ b/src/caffe/test/test_data/generate_sample_data.py @@ -7,7 +7,7 @@ num_cols = 8 num_rows = 10 -height = 5 +height = 6 width = 5 total_size = num_cols * num_rows * height * width diff --git a/src/caffe/test/test_hdf5data_layer.cpp b/src/caffe/test/test_hdf5data_layer.cpp index acca75b19b1..78a45223b90 100644 --- a/src/caffe/test/test_hdf5data_layer.cpp +++ b/src/caffe/test/test_hdf5data_layer.cpp @@ -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.