I have "Segmentation fault" error during creating of DecodableCtc in lines:
log_probs = log_probs.squeeze(0).cpu().numpy()
decodable = DecodableCtc(log_probs, offset=n)
of icefall/egs/librispeech/ASR/zipformer/onnx_pretrained_ctc_HLG_streaming.py
Fix: python -m pip uninstall numpy; python -m pip install 'numpy<2'
Uninstalled numpy have version 2.1.2, newly installed numpy was 1.26.4.
Expected behaviour: to have requirement to numpy version in kaldi_decoder metadata, or to show meaningful error during initialization of kaldi_decoder or DecodableCtc , or to make it work with both numpy versions.
I have "Segmentation fault" error during creating of DecodableCtc in lines:
of icefall/egs/librispeech/ASR/zipformer/onnx_pretrained_ctc_HLG_streaming.py
Fix:
python -m pip uninstall numpy; python -m pip install 'numpy<2'Uninstalled numpy have version 2.1.2, newly installed numpy was 1.26.4.
Expected behaviour: to have requirement to numpy version in kaldi_decoder metadata, or to show meaningful error during initialization of kaldi_decoder or DecodableCtc , or to make it work with both numpy versions.