diff options
| author | Djshinshin <129614060+Djshinshin@users.noreply.github.com> | 2026-08-13 23:57:35 +0800 |
|---|---|---|
| committer | Djshinshin <129614060+Djshinshin@users.noreply.github.com> | 2026-08-13 23:57:35 +0800 |
| commit | e121224ba49630846e3a4dcbdfdccb74d637842d (patch) | |
| tree | 0c37f448bea5c89b321fd1c830de8b01012696b6 /README.md | |
| parent | 6eec5c9ffae9a92f0c11352b28a53bd178728bf1 (diff) | |
| download | apollo-gfx803-e121224ba49630846e3a4dcbdfdccb74d637842d.tar.gz | |
Add device-agnostic inference support
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -76,9 +76,18 @@ python train.py --conf_dir=configs/apollo.yml To evaluate the Apollo model, run the following command: ```bash -python inference.py --in_wav=assets/input.wav --out_wav=assets/output.wav +python inference.py \ + --in_wav=asserts/input_wav.wav \ + --out_wav=output.wav \ + --device=auto ``` +`--device=auto` prefers CUDA, then Apple Silicon MPS, and finally CPU. Use +`--checkpoint=/path/to/pytorch_model.bin` for an existing local checkpoint; +otherwise the official `JusperLee/Apollo` checkpoint is downloaded from +Hugging Face. See [Apple Silicon macOS notes](MACOS_ARM64.md) for a tested MPS +setup and current limitations. + ## 📊 Results *Here, you can include a brief overview of the performance metrics or results that Apollo achieves using different bitrates* |
