Fix issue #674: parameter "flip" is added to [net] parameters for classifier and detector

flip=0 switches flip augmentation off.
Default is flip=1 which is consistent with a previous behaviour.
This commit is contained in:
iovodov
2018-04-19 19:31:09 +03:00
committed by Ilya Ovodov
parent 5d616450a4
commit 9207607a59
6 changed files with 26 additions and 19 deletions

View File

@ -52,6 +52,7 @@ typedef struct network{
int h, w, c;
int max_crop;
int min_crop;
int flip; // horizontal flip 50% probability augmentaiont for classifier training (default = 1)
float angle;
float aspect;
float exposure;