Skip to content

Commit

Permalink
yolo-lite
Browse files Browse the repository at this point in the history
  • Loading branch information
StinkyTofu95 committed Apr 12, 2019
1 parent 527fb06 commit 3731e46
Show file tree
Hide file tree
Showing 3 changed files with 2,191 additions and 3 deletions.
2 changes: 1 addition & 1 deletion v2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ test score threshold: 0.01<br>
```
3. prepare initial weights<br>
Download [darknet53_448.weights](https://pjreddie.com/media/files/darknet53_448.weights) firstly,
put the yolov3.weights into `darknet2tf/`, and then
put the initial weights into `darknet2tf/`, and then
```bash
cd darknet2tf
python3 convert_weights.py --weights_file=darknet53_448.weights --data_format=NHWC
Expand Down
8 changes: 6 additions & 2 deletions v3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,16 @@ test CPU: E5-2678 v3 @ 2.50GHz
|--|--|--2012_trainval<br>
|--|--|--2007_trainval<br>
|--|--|--2007_test<br>

3. train<br>
3. prepare initial weights<br>
Download [mobilenet_v2_1.0_224.weights](https://storage.googleapis.com/mobilenet_v2/checkpoints/mobilenet_v2_1.0_224.tgz) firstly,
put the initial weight into `weights/`.

4. train<br>
``` bash
nohup python train.py --gpu=0 &
```
5. test<br>
Download test weight [yolov3-lite.ckpt](https://drive.google.com/drive/folders/16Go8A676NzQD3DQF4Um8Yan2tjWd_94o).<br>
**If you want to get a higher mAP, you can set the score threshold to 0.01、use multi scale test、flip test.<br>
If you want to use it in actual projects, or if you want speed, you can set the score threshold to 0.2.<br>**
``` bash
Expand Down
Loading

0 comments on commit 3731e46

Please sign in to comment.