yolo - train_detector - Resizing
/home/strong/eclipse-workspace/darknet_0921/examples/detector.c
void train_detector(char *datacfg, char *cfgfile, char *weightfile, int *gpus, int ngpus, int clear)
{
}
printf("Resizing\n");
/* rand()函数产生一个0~1的随机小数,即0.0~0.9 */
1. Resizing
int dim = (rand() % 10 + 10) * 32;
2. Resizing
int dim = (rand() % 4 + 16) * 32;
3. Resizing
int dim = (rand() % 10 + 16) * 32;
4. Resizing
int dim = (rand() % 12 + 16) * 32;