From 43552b6d20be48d14508eb050d6def6b8f283217 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Fri, 17 Jul 2015 20:18:05 +0000
Subject: [PATCH] nothing changed go away
---
src/parser.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/parser.c b/src/parser.c
index 893111e..9670715 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -196,7 +196,10 @@
batch=params.batch;
if(!(h && w && c)) error("Layer before crop layer must output image.");
+ int noadjust = option_find_int_quiet(options, "noadjust",0);
+
crop_layer l = make_crop_layer(batch,h,w,c,crop_height,crop_width,flip, angle, saturation, exposure);
+ l.noadjust = noadjust;
return l;
}
--
Gitblit v1.10.0