i am trying to write grayscale images 96x96 px to hdf5 file. My input data is currently in the shape
6000, 96, 96 then i feed it to caffe for making convolutions and it is not working.
I0126 16:47:07.845268 2466 hdf5_data_layer.cpp:49] Successully loaded 6000 rows
I0126 16:47:07.845345 2466 hdf5_data_layer.cpp:81] output data size: 100,96,96,1
I0126 16:47:07.845388 2466 net.cpp:103] Top shape: 100 96 96 1 (921600)
I0126 16:47:07.845412 2466 net.cpp:103] Top shape: 100 30 1 1 (3000)
I0126 16:47:07.845455 2466 net.cpp:67] Creating Layer conv1
I0126 16:47:07.845480 2466 net.cpp:394] conv1 <- data
I0126 16:47:07.845516 2466 net.cpp:356] conv1 -> conv1
I0126 16:47:07.845554 2466 net.cpp:96] Setting up conv1
F0126 16:47:08.215721 2466 blob.cpp:14] Check failed: width >= 0 (-3 vs. 0)
Do you think i should reshape the data to 6000, 1, 96, 96 like a blob and write it to hd5?
1 is for grayscale channel. i