reduce example image size
authorEvan Shelhamer <shelhamer@imaginarynumber.net>
Thu, 22 May 2014 07:30:12 +0000 (00:30 -0700)
committerEvan Shelhamer <shelhamer@imaginarynumber.net>
Thu, 22 May 2014 07:30:12 +0000 (00:30 -0700)
examples/images/cat.jpg
src/caffe/test/test_image_data_layer.cpp

index 5303803b1c12213f986fb30e0b91e9d0b82fce85..b4efc6c98b7e7bed698b10f4b7f06031267d52dd 100644 (file)
Binary files a/examples/images/cat.jpg and b/examples/images/cat.jpg differ
index 42a1d0358db6a8296daf524bc6a2109aab7b5c64..fea5793d4be8f3b5872102139fd75386a2ca17b6 100644 (file)
@@ -70,8 +70,8 @@ TYPED_TEST(ImageDataLayerTest, TestRead) {
   layer.SetUp(this->blob_bottom_vec_, &this->blob_top_vec_);
   EXPECT_EQ(this->blob_top_data_->num(), 5);
   EXPECT_EQ(this->blob_top_data_->channels(), 3);
-  EXPECT_EQ(this->blob_top_data_->height(), 1200);
-  EXPECT_EQ(this->blob_top_data_->width(), 1600);
+  EXPECT_EQ(this->blob_top_data_->height(), 360);
+  EXPECT_EQ(this->blob_top_data_->width(), 480);
   EXPECT_EQ(this->blob_top_label_->num(), 5);
   EXPECT_EQ(this->blob_top_label_->channels(), 1);
   EXPECT_EQ(this->blob_top_label_->height(), 1);
@@ -122,8 +122,8 @@ TYPED_TEST(ImageDataLayerTest, TestShuffle) {
   layer.SetUp(this->blob_bottom_vec_, &this->blob_top_vec_);
   EXPECT_EQ(this->blob_top_data_->num(), 5);
   EXPECT_EQ(this->blob_top_data_->channels(), 3);
-  EXPECT_EQ(this->blob_top_data_->height(), 1200);
-  EXPECT_EQ(this->blob_top_data_->width(), 1600);
+  EXPECT_EQ(this->blob_top_data_->height(), 360);
+  EXPECT_EQ(this->blob_top_data_->width(), 480);
   EXPECT_EQ(this->blob_top_label_->num(), 5);
   EXPECT_EQ(this->blob_top_label_->channels(), 1);
   EXPECT_EQ(this->blob_top_label_->height(), 1);