Closed iooops closed 4 years ago
@iooops this is a good idea, I will explore the possibility of add wechat localStorage io handler.
I have added save function to the GraphModel, and will provide a localStorageIO handler for WeChat shortly. I noticed WeChat localStorage has a size limit of 10MB, which means model cannot exceed the 10MB in total size. You will need to use quantization flag with conversion CLI to reduce the model total size.
Loading models from the internet can be slow sometimes.
It would be great if users can save tf models to local storage and local it from local next time when they open the app.
/
There's an attempt here: https://github.com/mogoweb/wechat-tfjs-examples