Update README.md
Browse files
README.md
CHANGED
|
@@ -96,7 +96,16 @@ Use these packages with a runtime that:
|
|
| 96 |
|
| 97 |
This repository is not a drop-in replacement for generic Hugging Face `transformers` inference. It is meant for custom ONNX runtimes, such as:
|
| 98 |
|
| 99 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
|
| 101 |
## Minimal metadata example
|
| 102 |
|
|
|
|
| 96 |
|
| 97 |
This repository is not a drop-in replacement for generic Hugging Face `transformers` inference. It is meant for custom ONNX runtimes, such as:
|
| 98 |
|
| 99 |
+
- The Python LS-EEND ONNX runtime in the [example](https://huggingface.co/GradientDescent2718/LS-EEND-ONNX/example) directory
|
| 100 |
+
|
| 101 |
+
To run the Python microphone inference script, install the packages in [example/requirements.txt](https://huggingface.co/GradientDescent2718/LS-EEND-ONNX/example/requirements.txt) and run the following command:
|
| 102 |
+
```bash
|
| 103 |
+
python example/ls_eend_onnx_mic_gui.py \
|
| 104 |
+
--onnx-model DIHARD\ III/ls_eend_dih3_step.onnx \
|
| 105 |
+
--input-device 1 \
|
| 106 |
+
--block-seconds 0.1 \
|
| 107 |
+
--refresh-seconds 0.1
|
| 108 |
+
```
|
| 109 |
|
| 110 |
## Minimal metadata example
|
| 111 |
|