From b0106d7bde5240b800425874d30beb0aec262b84 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Mon, 13 Apr 2015 21:09:55 +0000
Subject: [PATCH] probably stuff changed

---
 src/parser.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/parser.c b/src/parser.c
index e4ee17e..08e0ea1 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -186,6 +186,7 @@
     int crop_height = option_find_int(options, "crop_height",1);
     int crop_width = option_find_int(options, "crop_width",1);
     int flip = option_find_int(options, "flip",0);
+    float angle = option_find_float(options, "angle",0);
 
     int batch,h,w,c;
     h = params.h;
@@ -194,7 +195,7 @@
     batch=params.batch;
     if(!(h && w && c)) error("Layer before crop layer must output image.");
 
-    crop_layer *layer = make_crop_layer(batch,h,w,c,crop_height,crop_width,flip);
+    crop_layer *layer = make_crop_layer(batch,h,w,c,crop_height,crop_width,flip, angle);
     option_unused(options);
     return layer;
 }

--
Gitblit v1.10.0