diff --git a/tools/convert_driving_data.cpp b/tools/convert_driving_data.cpp index 6c720607aa7..4ed024176d2 100644 --- a/tools/convert_driving_data.cpp +++ b/tools/convert_driving_data.cpp @@ -148,7 +148,7 @@ int main(int argc, char** argv) { box->set_img_height(resize_height); } if (!ReadImageToDatum(image_path, 0, - resize_height, resize_width, is_color, data.mutable_car_image_datum())) { + resize_height, resize_width, is_color, data.mutable_car_image_datum(), FLAGS_use_rgb)) { continue; }