From 5e448c00f32e80e13eead72318047ce8368aac9a Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Mon, 05 Mar 2018 16:59:29 +0000
Subject: [PATCH] Added Focal loss. Use focal_loss=1 in the [region] layer in your cfg-file. alpha = 0.5, gamma = 2
---
src/super.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/src/super.c b/src/super.c
index 67b941f..63e9860 100644
--- a/src/super.c
+++ b/src/super.c
@@ -12,7 +12,6 @@
char *train_images = "/data/imagenet/imagenet1k.train.list";
char *backup_directory = "/home/pjreddie/backup/";
srand(time(0));
- data_seed = time(0);
char *base = basecfg(cfgfile);
printf("%s\n", base);
float avg_loss = -1;
--
Gitblit v1.10.0