Skip to content

Commit

Permalink
Merge pull request #2 from cyndwith/multi_model_updates
Browse files Browse the repository at this point in the history
Update multi-model demo instructions
  • Loading branch information
cyndwith authored Sep 5, 2024
2 parents 86eb6db + 0fe5932 commit a6378c8
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion demo/multi-model-exec/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ This is the demo of showing multiple AI models running concurrently on Ryzen AI.

Make sure you have met all the requirements by following the [Installation Instructions](https://ryzenai.docs.amd.com/en/latest/inst.html#).

For step-by-step procedure for installing dependencies and building the demo from the source code following the [Multi Model instructions](../../example/multi-model/README.md)

Download the onnx models and test image/video package, and unzip it under **<path_to_RyzenAI-SW>/demo/multi-model-exec/npu_modelsx4_demo/**


Expand Down Expand Up @@ -129,23 +131,54 @@ Download the onnx models and test image/video package, and unzip it under **<pat
## 4 Run The Demo

Please note that all the steps mentioned here need to be performed in ***Windows CMD Prompt***. You can load and run the models one by one:

Run the MobileNet V2 based classification model:

```bash
cd npu_modelsx4_demo
run_mobile_net_v2.bat
```

![MobilenetV2](images/mobilenet_V2.jpg)

Run the ResNet50 based classification model:

```bash
run_resnet50.bat
```

![Resnet50](images/resnet50.jpg)

Run the RetinaFace model for face detection:

```bash
run_retinaface.bat
```

![Retinaface](images/retina.jpg)

Run the segmentation model:

```bash
run_segmentation.bat
```

![Segmentation](images/segmentation.jpg)

Run the YOLO based object detection model:

```bash
run_yolovx.bat
```

![yolox](images/yolox.jpg)

or you can load and run multiple models at the same time:
or you can load and run multiple models at the same time:

```bash
run_modelx4.bat
```

![modelsx4](images/modelsx4.jpg)

## 5 Know Issues
Expand Down

0 comments on commit a6378c8

Please sign in to comment.