From f26aa3582659f76a86a95f0675636bc908a00364 Mon Sep 17 00:00:00 2001 From: Benjamin Date: Tue, 30 Mar 2021 15:37:13 -0400 Subject: [PATCH 1/2] update yolo server readme --- integrations/ultralytics/deepsparse/SERVER.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/integrations/ultralytics/deepsparse/SERVER.md b/integrations/ultralytics/deepsparse/SERVER.md index af582b86abd..04a7e1c1418 100644 --- a/integrations/ultralytics/deepsparse/SERVER.md +++ b/integrations/ultralytics/deepsparse/SERVER.md @@ -54,7 +54,9 @@ also supported. Example command: ```bash -python server.py zoo:cv/detection/yolo_v3-spp/pytorch/ultralytics/coco/pruned_quant-aggressive_94 +python server.py \ + zoo:cv/detection/yolo_v3-spp/pytorch/ultralytics/coco/pruned_quant-aggressive_94 \ + --quantized-inputs ``` You can leave that running as a detached process or in a spare terminal. From 6473b7327ab44b54949dfb93dcea01e124648c14 Mon Sep 17 00:00:00 2001 From: Benjamin Date: Tue, 30 Mar 2021 15:42:39 -0400 Subject: [PATCH 2/2] update yolo integration readme --- integrations/ultralytics/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/integrations/ultralytics/README.md b/integrations/ultralytics/README.md index bea59b6053c..ade7a4ae19a 100644 --- a/integrations/ultralytics/README.md +++ b/integrations/ultralytics/README.md @@ -119,9 +119,12 @@ cp sparseml/integrations/ultralytics/deepsparse/*.py yolov5 cd yolov5 # install deepsparse and server dependencies -pip install deepsparse flask flask-cors +pip install deepsparse sparseml flask flask-cors ``` +Note: on new Ubuntu systems, to install `cv2` running `sudo apt-get update && apt-get install -y python3-opencv` +may be necessary. + ### Benchmarking `benchmarking.py` is a script for benchmarking sparsified and quantized YOLOv3