tensorflow / tfjs-wechat

WeChat Mini-program plugin for TensorFlow.js
https://tensorflow.org/js
547 stars 102 forks source link

Why I test the mobilenet demo couldn't download model online #60

Closed yikongge closed 4 years ago

yikongge commented 4 years ago

图片 I could use the simulation 图片 but when I use my phone ,it is pending

yikongge commented 4 years ago

在模拟器上可以用,真机调试时下载不了模型数据。

pyu10055 commented 4 years ago

@yikongge It depends on which URL you are downloading the model files from, you need to add the url to your project setting. Screen Shot 2020-04-10 at 8 29 53 AM or enable debug mode on the phone and disable domain check. Screen Shot 2020-04-10 at 8 31 18 AM

yikongge commented 4 years ago

@pyu10055 Thinks for your help. After I change configuration like yours,it running. maybe because I used a old wechat version. But when I use my model it can't running ,I think there are some wrong when I converter my keras model to a tfjs_graph_model.Of course that is another problem.Think you!!