deepspeech-rs icon indicating copy to clipboard operation
deepspeech-rs copied to clipboard

Data loss issue

Open Saviio opened this issue 4 years ago • 1 comments

I have met #25 mentioned issue also, but like I commented, when I add

set rustc-link-search= C:\deepspeech

the example program can be boot.

but I saw another issue:

Data loss: Can't parse .\models\deepspeech-0.9.0-models-zh-CN.tflite as binary proto

I have tested both 0.9.3 and 0.9.0 as model file.

additional info:

os: windows 11
crate: latest deepspeech-rs
rustc: 1.57.0 (f1edd0429 2021-11-29)


wsl2: Ubuntu 20.04.3 LTS
crate: latest deepspeech-rs
Linux version 5.10.60.1-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) 
rustc: 1.57.0 (f1edd0429 2021-11-29)

Saviio avatar Dec 05 '21 19:12 Saviio

ok, i figured it out.

it seems commit: f88ec78ec8596529a003f56959e4135e3236b6a2 was not be fully tested, program will load tflite as model file rather than .pbmm file.

so this issue can be easily fixed by remove .tflite from models folder.

Saviio avatar Dec 05 '21 20:12 Saviio