Download run_cpp_ax650.sh from AXERA-TECH/H-GTCRN.AXERA: direct link, hf CLI and curl.
- Browser
- Download file 497 Bytes
-
https://huggingface.co/AXERA-TECH/H-GTCRN.AXERA/resolve/main/run_cpp_ax650.sh
- Command line
-
hf download hf://AXERA-TECH/H-GTCRN.AXERA/run_cpp_ax650.sh
-
curl -L -o run_cpp_ax650.sh https://huggingface.co/AXERA-TECH/H-GTCRN.AXERA/resolve/main/run_cpp_ax650.sh
497 Bytes
| set -euo pipefail | |
| # H-GTCRN AX650 板端 C++ 一键推理(wav → wav 端到端) | |
| # 用法: bash run_cpp_ax650.sh [输入wav,默认 samples/Samples1_noisy.wav] | |
| # 输出: samples/Samples1_cpp_enhanced.wav(默认)或 output.wav | |
| INPUT="${1:-samples/Samples1_noisy.wav}" | |
| OUT="${2:-output_cpp_enhanced.wav}" | |
| ROOT="$(cd "$(dirname "$0")" && pwd)" | |
| "$ROOT/bin/h_gtcrn_ax650" \ | |
| "$ROOT/models/model.axmodel" \ | |
| "$INPUT" \ | |
| "$OUT" \ | |
| --bench 20 \ | |
| --audio-seconds 10.0 | |