Joseph Redmon
2015-07-14 a47874a7e8ee2f0b22b59132e8e807468233dff0
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;
}