Joseph Redmon
2015-07-31 0b4c38f631db13e2db18423e9a12ec4885f03b8b
src/crop_layer.c
@@ -48,6 +48,10 @@
    int dw = rand()%(l.w - l.crop_width + 1);
    float scale = 2;
    float trans = -1;
    if(l.noadjust){
        scale = 1;
        trans = 0;
    }
    if(!state.train){
        flip = 0;
        dh = (l.h - l.crop_height)/2;