From 9ac78d8b84f6a059d2cefe22a10aa60de5b3feaf Mon Sep 17 00:00:00 2001 From: AlexeyAB <alexeyab84@gmail.com> Date: Thu, 04 Jan 2018 21:58:52 +0000 Subject: [PATCH] Fine tuning, use stopbackward=1 in the cfg-file in that layer where Backward should be stopped. --- src/image.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/image.h b/src/image.h index 39c3962..165a624 100644 --- a/src/image.h +++ b/src/image.h @@ -30,6 +30,9 @@ image random_augment_image(image im, float angle, float aspect, int low, int high, int size); void random_distort_image(image im, float hue, float saturation, float exposure); image resize_image(image im, int w, int h); +void fill_image(image m, float s); +void letterbox_image_into(image im, int w, int h, image boxed); +image letterbox_image(image im, int w, int h); image resize_min(image im, int min); image resize_max(image im, int max); void translate_image(image m, float s); -- Gitblit v1.10.0