Ant-Brain / EfficientWord-Net

OneShot Learning-based hotword detection.
https://ant-brain.github.io/EfficientWord-Net/
Apache License 2.0
234 stars 37 forks source link

Upgrade / Update #45

Open dlroy88osu opened 1 year ago

dlroy88osu commented 1 year ago

No support for Python 12, is that planned?

tflite is no longer maintained for windows / mac, you have to use the full tensorflow.

Note: We no longer release pre-built tflite-runtime wheels for Windows and macOS. For these platforms, 
you should use the [full TensorFlow package](https://www.tensorflow.org/install/), or 
[build the tflite-runtime package from source](https://www.tensorflow.org/lite/guide/build_cmake_pip).

Also the numpy dependency is outdated. (this was trying to build on 3.11.6)

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [100 lines of output]
      setup.py:66: RuntimeWarning: NumPy 1.20.0 may not yet support Python 3.11.
TheSeriousProgrammer commented 1 year ago

Didn't know that python12 got released, will rollout a new release containing a few fixes and this one too. Moreover tflite dependency was present for the older model which is seldome used, now the package primarily focuses on the newer model which run with onnx-runtime

kiri-i commented 8 months ago

Submitted a pull request for updating dependencies to support Python 3.12. Please review the changes.