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 5303803..b4efc6c 100644 (file)
Binary files a/examples/images/cat.jpg and b/examples/images/cat.jpg differ
index 42a1d03..fea5793 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);