diff options
| author | Zakaria Zbitou <zbitou.zakaria@gmail.com> | 2026-08-19 02:21:00 +0200 |
|---|---|---|
| committer | Zakaria Zbitou <zbitou.zakaria@gmail.com> | 2026-08-21 17:18:53 +0200 |
| commit | 99b31871fba0e86bad72137ac7601f5085d8e4a7 (patch) | |
| tree | dfec90e52f2d14f9b6ecf4b0ced3ad9f9ba4a51b /MACOS_ARM64.md | |
| parent | b17bf536b11fa527cddce5dd6694c4b04a44d3f6 (diff) | |
| download | apollo-gfx803-99b31871fba0e86bad72137ac7601f5085d8e4a7.tar.gz | |
Pad chunk inference and discard the model's degraded edges
Diffstat (limited to 'MACOS_ARM64.md')
| -rw-r--r-- | MACOS_ARM64.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/MACOS_ARM64.md b/MACOS_ARM64.md index dc33865..849adb7 100644 --- a/MACOS_ARM64.md +++ b/MACOS_ARM64.md @@ -40,6 +40,17 @@ python inference.py \ --chunk-batch-size=2 ``` +Model output is wrong near the edges of whatever it is given — worst at the +end, where the model runs out of audio. `--chunk-pad-seconds` infers each +chunk with that much surrounding audio on each side and discards it from the +output, keeping those wrong edges away from chunk boundaries. The padding is +real neighboring audio, and the file's own edges take none: the first padded +chunk begins at the file start and the last ends at the file end, extending +further left instead, so both file edges come out as an unchunked +pass would produce them. The default of 0 keeps the previous output +exactly; 1.0 is past the measured wrong-edge extent (about 0.5 s) and gives +clean seams. Each forward pass grows from chunk to chunk plus twice the pad. + `--chunk-batch-size` controls how many chunks are transferred and processed in one model forward pass. The default of `1` minimizes accelerator memory; larger values keep memory bounded by a fixed batch but may trade additional memory for |
