Groups
Sign in
Groups
Caffe Users
Conversations
Labels
About
Send feedback
Help
use IMAGE_DATA layer
880 views
grayscale
image_data
Skip to first unread message
Marenkov Dima
unread,
Sep 25, 2014, 8:01:17 AM
9/25/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to caffe...@googlegroups.com
IMAGE_DATA layer can give grayscale image? Ie to the output was one channel, rather than three.
Traun Leyden
unread,
Oct 25, 2014, 9:46:40 AM
10/25/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to caffe...@googlegroups.com
Yeah it works with grayscale images.
I'd recommend explicitly setting is_color: false as in this example:
https://github.com/tleyden/caffe/blob/feature/dev_mnist_data_layer/examples/mnist/lenet_train_test_files.prototxt#L10
Without setting is_color: false on the IMAGE_DATA layer, it seems to create BLOBS with a wrong shape: the blob has 3 channels (RGB) instead of 1 (Greyscale)
Note: the is_color setting will only work on the dev branch at the moment.
Reply all
Reply to author
Forward
0 new messages