Open ooyanglinoo opened 6 years ago
You can only use memory_data_param or cos_data_param to specify the input layers.
The data layers have simple resize function, but I don't think it handles encoded images (say JPEG) with variable sizes.
I would pre-processe the images (resize, rotate, etc) before feeding them to Caffe.
I want to train a object detection model based on CaffeOnSpark, whose training image size varies, and may not resize easily because tags on images is based on origin image size.
Can I use data_param instead of memory_data_param to define DataSource in DataLayer? If not, how to apply different size images as training dataset?