summaryrefslogtreecommitdiff
path: root/candle-examples/examples
diff options
context:
space:
mode:
authorJoel Nises <joel.nises@gmail.com>2024-08-10 07:49:05 +0200
committerGitHub <noreply@github.com>2024-08-10 07:49:05 +0200
commit6e6c1c99b09de707d1f0aa6839be70202b278a57 (patch)
tree89793ec1b6cf9a787f7dabb786340b60329a0f49 /candle-examples/examples
parentb7d9af00cc8f2c46edcbe4febbdd3fd781de2c92 (diff)
downloadcandle-6e6c1c99b09de707d1f0aa6839be70202b278a57.tar.gz
candle-6e6c1c99b09de707d1f0aa6839be70202b278a57.tar.bz2
candle-6e6c1c99b09de707d1f0aa6839be70202b278a57.zip
Fix issues in the encodec example README.md (#2407)
Also squeeze the first dimension of the codes tensor in the example file to get the expected three dimensions.
Diffstat (limited to 'candle-examples/examples')
-rw-r--r--candle-examples/examples/encodec/README.md2
-rw-r--r--candle-examples/examples/encodec/jfk-codes.safetensorsbin13328 -> 13328 bytes
2 files changed, 1 insertions, 1 deletions
diff --git a/candle-examples/examples/encodec/README.md b/candle-examples/examples/encodec/README.md
index 9de0d4ad..a339b67f 100644
--- a/candle-examples/examples/encodec/README.md
+++ b/candle-examples/examples/encodec/README.md
@@ -7,7 +7,7 @@ quantization.
## Running one example
```bash
-cargo run --example encodec --features symphonia --release -- code-to-audio \
+cargo run --example encodec --features encodec --release -- code-to-audio \
candle-examples/examples/encodec/jfk-codes.safetensors \
jfk.wav
```
diff --git a/candle-examples/examples/encodec/jfk-codes.safetensors b/candle-examples/examples/encodec/jfk-codes.safetensors
index b8eb2026..67519612 100644
--- a/candle-examples/examples/encodec/jfk-codes.safetensors
+++ b/candle-examples/examples/encodec/jfk-codes.safetensors
Binary files differ