Skip to content

Commit ea45e67

Browse files
author
Roman Donchenko
authored
Merge pull request openvinotoolkit#1642 from IRDonch/yolov2-tiny-fix
yolo-v2-tiny-tf: fix weights URL and config file name
2 parents a744089 + 9695f33 commit ea45e67

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

models/public/yolo-v2-tiny-tf/yolo-v2-tiny-tf.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ YOLO v2 Tiny is a real-time object detection model implemented with Keras\* from
1111

1212
1. Download YOLO v2 Tiny weights:
1313
```
14-
wget -O weights/yolov2_tiny.weights https://pjreddie.com/media/files/yolov2_tiny.weights
14+
wget -O weights/yolov2-tiny.weights https://pjreddie.com/media/files/yolov2-tiny.weights
1515
```
1616
1717
2. Convert model weights to Keras\*:
1818
```
19-
python tools/model_converter/convert.py cfg/yolov2_tiny.cfg weights/yolov2_tiny.weights weights/yolov2_tiny.h5
19+
python tools/model_converter/convert.py cfg/yolov2-tiny.cfg weights/yolov2-tiny.weights weights/yolov2-tiny.h5
2020
```
2121
3. Convert model to protobuf:
2222
```
23-
python tools/model_converter/keras_to_tensorflow.py --input_model weights/yolov2_tiny.h5 --output_model=weights/yolo-v2-tiny.pb
23+
python tools/model_converter/keras_to_tensorflow.py --input_model weights/yolov2-tiny.h5 --output_model=weights/yolo-v2-tiny.pb
2424
```
2525
2626
## Specification

0 commit comments

Comments
 (0)