Skip to content
This repository was archived by the owner on Nov 27, 2024. It is now read-only.

Commit 906cb21

Browse files
committed
Update README
1 parent 4263ff7 commit 906cb21

File tree

1 file changed

+46
-31
lines changed

1 file changed

+46
-31
lines changed

README.md

Lines changed: 46 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,7 @@
11
# OnnxStack
22
ONNX Runtime Projects for .NET Applications
33

4-
## Hardware Requirements
5-
You can choose between `Cpu` and `DirectML`(GPU) for inference,
6-
Other `Microsoft.ML.OnnxRuntime.*` executors like `Cuda` may work but are untested
7-
8-
`Cpu` > 12GB RAM
9-
10-
`DirectML` > 10GB VRAM
11-
12-
13-
## ONNX Model Download
14-
You will need an ONNX compatible model to use, Hugging Face is a great place to download the Stable Diffusion models
15-
16-
Download the [ONNX Stable Diffusion models from Hugging Face](https://huggingface.co/models?sort=downloads&search=Stable+Diffusion).
17-
18-
- [Stable Diffusion Models v1.4](https://huggingface.co/CompVis/stable-diffusion-v1-4/tree/onnx)
19-
- [Stable Diffusion Models v1.5](https://huggingface.co/runwayml/stable-diffusion-v1-5/tree/onnx)
20-
21-
22-
Once you have selected a model version repo, click `Files and Versions`, then select the `ONNX` branch. If there isn't an ONNX model branch available, use the `main` branch and convert it to ONNX. See the [ONNX conversion tutorial for PyTorch](https://learn.microsoft.com/windows/ai/windows-ml/tutorials/pytorch-convert-model) for more information.
23-
24-
Clone the model repo:
25-
```text
26-
git lfs install
27-
git clone https://huggingface.co/runwayml/stable-diffusion-v1-5 -b onnx
28-
```
4+
This repository harnesses the capabilities of both `ONNX Runtime` and `Microsoft ML`, offering a comprehensive solution that empowers developers to build, deploy, and execute machine learning models seamlessly in .NET environments, unlocking a world of possibilities for intelligent applications.
295

306

317
# Projects
@@ -78,28 +54,67 @@ Image To Image Stable Diffusion is an advanced image processing and generation m
7854
| :--- | :--- | :--- |
7955
<img src="Assets/Samples/Img2Img_Start.bmp" width="256" alt="Image of browser inferencing on sample images."/> | <img src="Assets/Samples/Img2Img_End.png" width="256" alt="Image of browser inferencing on sample images."/> |<img src="Assets/Samples/Img2Img_Animation.webp" width="256" alt="Image of browser inferencing on sample images."/> |
8056

57+
```
58+
Prompt: Dog wearing storm trooper helmet, head shot
59+
```
8160

8261
More information and Examples can be found in the `OnnxStack.StableDiffusion` project **[README](OnnxStack.StableDiffusion/README.md)**
8362

8463
__________________________
8564

8665

8766
__________________________
88-
## `OnnxStack.ImageRecognition`
89-
Image recognition with ResNet50v2 with C# and ONNX Runtime
67+
## **[OnnxStack.ImageRecognition]()**
68+
**Image recognition with ResNet50v2 and ONNX Runtime**
9069

91-
~WIP~
70+
Harness the accuracy of the ResNet50v2 deep learning model for image recognition, seamlessly integrated with ONNX for efficient deployment. This combination empowers your applications to classify images with precision, making it ideal for tasks like object detection, content filtering, and image tagging across various platforms and hardware accelerators. Achieve high-quality image recognition effortlessly with ResNet50v2 and ONNX integration.
71+
72+
73+
***work in progress***
9274
__________________________
9375

9476

9577
__________________________
96-
## `OnnxStack.ObjectDetection`
97-
Object detection with Faster RCNN Deep Learning with C# and ONNX Runtime
78+
## **[OnnxStack.ObjectDetection]()**
79+
**Object detection with Faster RCNN Deep Learning with C# and ONNX Runtime**
80+
81+
Enable robust object detection in your applications using RCNN (Region-based Convolutional Neural Network) integrated with ONNX. This powerful combination allows you to accurately locate and classify objects within images. Whether for surveillance, autonomous vehicles, or content analysis, RCNN and ONNX integration offers efficient and precise object detection across various platforms and hardware, ensuring your solutions excel in recognizing and localizing objects in images.
9882

99-
~WIP~
83+
***work in progress***
10084
__________________________
10185

10286

87+
# Getting Started
88+
89+
90+
## ONNX Model Download
91+
You will need an ONNX compatible model to use, Hugging Face is a great place to download the Stable Diffusion models
92+
93+
Download the [ONNX Stable Diffusion models from Hugging Face](https://huggingface.co/models?sort=downloads&search=Stable+Diffusion).
94+
95+
- [Stable Diffusion Models v1.4](https://huggingface.co/CompVis/stable-diffusion-v1-4/tree/onnx)
96+
- [Stable Diffusion Models v1.5](https://huggingface.co/runwayml/stable-diffusion-v1-5/tree/onnx)
97+
98+
99+
Once you have selected a model version repo, click `Files and Versions`, then select the `ONNX` branch. If there isn't an ONNX model branch available, use the `main` branch and convert it to ONNX. See the [ONNX conversion tutorial for PyTorch](https://learn.microsoft.com/windows/ai/windows-ml/tutorials/pytorch-convert-model) for more information.
100+
101+
Clone the model repo:
102+
```text
103+
git lfs install
104+
git clone https://huggingface.co/runwayml/stable-diffusion-v1-5 -b onnx
105+
```
106+
107+
108+
## Hardware Requirements
109+
You can choose between `Cpu` and `DirectML`(GPU) for inference,
110+
Other `Microsoft.ML.OnnxRuntime.*` executors like `Cuda` may work but are untested
111+
112+
`Cpu` > 12GB RAM
113+
114+
`DirectML` > 10GB VRAM
115+
116+
117+
103118
## Contribution
104119

105120
We welcome contributions to OnnxStack! If you have any ideas, bug reports, or improvements, feel free to open an issue or submit a pull request.

0 commit comments

Comments
 (0)