I've been trying to reduce the storage space needed to operate my company's wake-word detector such that it could fit into Raspberry Pi 3. The wake-word detector is using Mycroft Precise to automate the detection processes.

After I dig into Mycroft Precise implementations, I found that the largest part of Mycroft Precise is actually not the main program, but just one dependency, which is tensorflow.

I find it really unacceptable when a dependency is actually 4 times bigger than the main program. Some alternatives like PyTorch aren't a better choice either.

  • It is not actually than uncommon in python for complex & advanced dependencies such as Machine Learning or Numpy to be larger than the main program that calls them or even than the language itself, e.g. on Windows Python 3.8 a bare install of python, with built in libraries, is just under 12 MB but Numpy adds nearly 53 MB. Commented Nov 4, 2019 at 5:58
  • It is uncommon in IoT world.
    – light42
    Commented Nov 4, 2019 at 6:06


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.