Solved :)
i created a text file, placed the path of real .hd5 file inside it. The caffe prototxt file points to text file and it worked :)
hdf5_data_param { source: "train.txt" batch_size: 10 }
train.txt contains line..
facialkp.hd5