pytorch / android-demo-app

PyTorch android examples of usage in applications
1.45k stars 596 forks source link

StreamingASR's `run_sasr.py` doesn't work with Python 3.10 #260

Open NivekT opened 1 year ago

NivekT commented 1 year ago

It seems like StreamingASR doesn't work with Python 3.10 due to an issue within PyAudio. Executing python run_sasr.py will lead an error [PY_SSIZE_T_CLEAN macro must be defined for '#' formats]. This Stack Overflow post discuss the PyAudio issue in more details. I can confirm that python run_sasr.py works fine with Python 3.9.

nit: It would be good include fairseq and PyAudio as prerequisites in this part of the README as well.

cc: @jeffxtang

NeighborhoodCoding commented 1 year ago

you may use deeplabv3_scripted_optimized.ptl