[英]Tensorflow SSD300 for Android
I'm a college student who studies machine leraning in Japan. 我是一名在日本学习机器学习的大学生。 I'm not good at using English, but I will make efforts to convey my situation in English.
我不擅长使用英语,但是我会努力用英语传达我的情况。
I'm now trying to use the object detection model for android. 我现在正在尝试将对象检测模型用于android。 I used SSD300_mobile_net for training and then I got .hdf5 file which has model's weights.
我使用SSD300_mobile_net进行训练,然后得到了具有模型权重的.hdf5文件。
Next, I convert this .hdf5file into .pb file which is fit for tensorflow. 接下来,我将此.hdf5文件转换为适合tensorflow的.pb文件。 At last, I want to use this .pb file for tensorflow android .( https://github.com/tensorflow/tensorflow/tree/master/tensorflow/examples/android )
最后,我想将这个.pb文件用于tensorflow android。( https://github.com/tensorflow/tensorflow/tree/master/tensorflow/examples/android )
But I got an error on Android Studio as below while debugging the application by using my device 但是我在使用设备调试应用程序时,在Android Studio上出现如下错误
This is the error capture I want to know how to solve this problem. 这是我想知道如何解决此问题的错误捕获 。
I sense that it's an issue with your hardware. 我感觉这是您的硬件问题。 Generally the hdf5 files are very big and even bigger is the computation that is being done on it.
通常,hdf5文件非常大,并且正在执行的计算甚至更大。 Since your system is giving OOM exception, I believe you are getting this error while loading weights into the model.
由于您的系统给出了OOM异常,因此我相信在将权重加载到模型时会遇到此错误。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.