piper icon indicating copy to clipboard operation
piper copied to clipboard

Aborted (core dumped) with wsl2+x86_64

Open FlowerBirds opened this issue 6 months ago • 1 comments

[root@LAPTOP-TC4A0SCV piper]# lspcpu
-bash: lspcpu: command not found
[root@LAPTOP-TC4A0SCV piper]# lscpu
Architecture:             x86_64
  CPU op-mode(s):         32-bit, 64-bit
  Address sizes:          39 bits physical, 48 bits virtual
  Byte Order:             Little Endian
CPU(s):                   6
  On-line CPU(s) list:    0-5
Vendor ID:                GenuineIntel
  Model name:             11th Gen Intel(R) Core(TM) i5-1155G7 @ 2.50GHz



[root@LAPTOP-TC4A0SCV piper]# ./piper
terminate called after throwing an instance of 'std::runtime_error'
  what():  Model file doesn't exist
Aborted (core dumped)


[root@LAPTOP-TC4A0SCV ~]# tar xzf piper_linux_x86_64.tar.gz
[root@LAPTOP-TC4A0SCV ~]# cd piper
[root@LAPTOP-TC4A0SCV piper]# ll
total 33776
-rw-r--r-- 1 root root    32776 Nov 15  2023 espeak-ng
drwxr-xr-x 4 root root     4096 Nov 15  2023 espeak-ng-data
lrwxrwxrwx 1 root root       17 Nov 15  2023 libespeak-ng.so -> libespeak-ng.so.1
lrwxrwxrwx 1 root root       24 Nov 15  2023 libespeak-ng.so.1 -> libespeak-ng.so.1.52.0.1
-rw-r--r-- 1 root root   580648 Nov 15  2023 libespeak-ng.so.1.52.0.1
lrwxrwxrwx 1 root root       24 Nov 15  2023 libonnxruntime.so -> libonnxruntime.so.1.14.1
-rw-r--r-- 1 root root 16324080 Nov 15  2023 libonnxruntime.so.1.14.1
lrwxrwxrwx 1 root root       23 Nov 15  2023 libpiper_phonemize.so -> libpiper_phonemize.so.1
lrwxrwxrwx 1 root root       27 Nov 15  2023 libpiper_phonemize.so.1 -> libpiper_phonemize.so.1.2.0
-rw-r--r-- 1 root root  1244560 Nov 15  2023 libpiper_phonemize.so.1.2.0
-rw-r--r-- 1 root root 10261536 Nov 15  2023 libtashkeel_model.ort
-rwxr-xr-x 1 root root  4999768 Nov 15  2023 piper
-rwxr-xr-x 1 root root  1121952 Nov 15  2023 piper_phonemize
drwxr-xr-x 2 root root     4096 Nov 15  2023 pkgconfig

FlowerBirds avatar Jun 07 '25 10:06 FlowerBirds

@FlowerBirds it's a bug that I also hit - program shouldn't crash. The culprit in your usage is that you didn't pass the right paths.

Use:

piper --espeak-data espeak-ng-data/ -m piper-voices/en_US-hfc_male-medium.onnx --output_file f.wav

wkoszek avatar Jun 13 '25 16:06 wkoszek