Added Mixup data augmentation if is used mixup=1

This commit is contained in:
AlexeyAB
2019-06-06 02:55:11 +03:00
parent 2347913ef1
commit 57baf1a487
7 changed files with 251 additions and 141 deletions

View File

@ -595,6 +595,7 @@ typedef struct network {
int center;
int flip; // horizontal flip 50% probability augmentaiont for classifier training (default = 1)
int blur;
int mixup;
float angle;
float aspect;
float exposure;
@ -759,6 +760,7 @@ typedef struct load_args {
float jitter;
int flip;
int blur;
int mixup;
float angle;
float aspect;
float saturation;