From e47b3c6a5b560cec3fa45dfc7bc04df5f461ecb1 Mon Sep 17 00:00:00 2001
From: Alexey <AlexeyAB@users.noreply.github.com>
Date: Thu, 29 Mar 2018 22:51:02 +0000
Subject: [PATCH] Update Readme.md
---
README.md | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/README.md b/README.md
index d576a1e..0830e12 100644
--- a/README.md
+++ b/README.md
@@ -188,7 +188,7 @@
## How to train (Pascal VOC Data):
-1. Download pre-trained weights for the convolutional layers (76 MB): http://pjreddie.com/media/files/darknet53.conv.74 and put to the directory `build\darknet\x64`
+1. Download pre-trained weights for the convolutional layers (154 MB): http://pjreddie.com/media/files/darknet53.conv.74 and put to the directory `build\darknet\x64`
2. Download The Pascal VOC Data and unpack it to directory `build\darknet\x64\data\voc` will be created dir `build\darknet\x64\data\voc\VOCdevkit\`:
* http://pjreddie.com/media/files/VOCtrainval_11-May-2012.tar
@@ -239,7 +239,9 @@
* https://github.com/AlexeyAB/darknet/blob/0039fd26786ab5f71d5af725fc18b3f521e7acfd/cfg/yolov3.cfg#L776
So if `classes=1` then should be `filters=18`. If `classes=2` then write `filters=31`.
+
**(Do not write in the cfg-file: filters=(classes + 5)x3)**
+
(Generally `filters` depends on the `classes`, `coords` and number of `mask`s, i.e. filters=`(classes + coords + 1)*<number of mask>`, where `mask` is indices of anchors. If `mask` is absence, then filters=`(classes + coords + 1)*num`)
So for example, for 2 objects, your file `yolo-obj.cfg` should differ from `yolov3.cfg` in such lines in each of **3** [yolo]-layers:
--
Gitblit v1.10.0