Skip to content

Commit 16c7915

Browse files
authored
update YOLO examples dependencies (#118)
* update YOLO examples dependencies * create requirements.txt for YOLO examples
1 parent 5a5557f commit 16c7915

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

examples/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ Open a Pull Request to [contribute](https://github.com/neuralmagic/deepsparse/bl
3030
| [Classification](https://github.com/neuralmagic/deepsparse/blob/main/examples/classification/) | How to use classification models from SparseZoo to perform inference and benchmarking with the DeepSparse Engine |
3131
| [Detection](https://github.com/neuralmagic/deepsparse/blob/main/examples/detection/) | How to use object detection models from SparseZoo to perform inference and benchmarking with the DeepSparse Engine |
3232
| [Model Server](https://github.com/neuralmagic/deepsparse/blob/main/examples/flask/) | Simple model server and client example, showing how to use the DeepSparse Engine as an inference backend for a real-time inference server |
33+
| [YOLOv3](https://github.com/neuralmagic/deepsparse/blob/main/examples/ultralytics-yolov3/) | Serving, benchmarking, and running annotation inferences with YOLOv3 models |

examples/ultralytics-yolov3/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ create your own using the
2727
## Installation
2828
The dependencies for this example can be installed using `pip`:
2929
```bash
30-
pip3 install deepsparse sparseml[torchvision] flask flask-cors
30+
pip3 install -r requirements.txt
3131
```
3232

3333
## Annotation Example
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# pip install -r requirements.txt
2+
3+
# NM Deps
4+
deepsparse>=0.3.1
5+
sparseml[torchvision]>=0.3.1
6+
7+
# Example Deps
8+
flask
9+
flask-cors
10+
opencv-python

0 commit comments

Comments
 (0)