Open wulw1990 opened 7 years ago
name: "net" layer { name: "data_layer" type: "FaceData" top: "image" top: "landmark" face_data_param { group_size: 5 } } layer { name: "color" type: "Color" bottom: "image" top: "image_gray" color_param { color: GRAY } } layer { name: "warp_face_large" type: "WarpFace" bottom: "image_gray" tottom: "landmark" top: "image_large" top: "landmark_large" warp_face_param { face_width: 128 face_height: 128 pad_width: 256 pad_height: 256 } } layer { name: "resize" type: "Resize" bottom: "image_large" tottom: "landmark_large" top: "image_large_resize" top: "landmark_large_resize" resize_param { new_width: 224 new_height: 224 } } layer { name: "caffe" type: "Caffe" bottom: "image_large_resize" top: "result_large" caffe_param { model_name: "google_large" } }
name: "net" layer { name: "data_layer" type: "FaceData" top: "image" top: "landmark" face_data_param { group_size: 5 } } layer { name: "color" type: "Color" bottom: "image" top: "image_gray" color_param { color: GRAY } } layer { name: "warp_face_large" type: "WarpFace" bottom: "image_gray" tottom: "landmark" top: "image_large" top: "landmark_large" warp_face_param { face_width: 128 face_height: 128 pad_width: 256 pad_height: 256 } } layer { name: "resize" type: "Resize" bottom: "image_large" tottom: "landmark_large" top: "image_large_resize" top: "landmark_large_resize" resize_param { new_width: 224 new_height: 224 } } layer { name: "caffe" type: "Caffe" bottom: "image_large_resize" top: "result_large" caffe_param { model_name: "google_large" } }