简体   繁体   English

适用于Android的Tensorflow SSD300

[英]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.

相关问题 使用Tensorflow ssd_mobilenet_v1_android_export.pb模型转移学习 - Transfer learning with Tensorflow ssd_mobilenet_v1_android_export.pb model Tensorflow Lite Android Object 检测 - 移动 SSD 型号预计正好有 4 个输出,发现 8 - Tensorflow Lite Android Object Detection — Mobile SSD models are expected to have exactly 4 outputs, found 8 Tensorflow lite 对象检测,Android Studio,ssd mobilevet v2,相同结构不同的 tflite 文件但几乎 0 检测 - Tensorflow lite object detection, Android Studio, ssd mobilevet v2, same structure different tflite file but almost 0 detection Android Studio Project是否可以在SSD上快速运行? - Android studio Project will be fast on SSD? 是否可以在 Android 上运行 ssd_mobilenet_v1_fpn 进行推理? - Is it possible to run ssd_mobilenet_v1_fpn on Android for inference? 无法从外部存储设备(外部SSD)启动android仿真器! - Unable to start android emulator from an external storage device(External SSD)! 无法在 android 上部署 ssd mobilenet v1 fpn - Unable to deploy ssd mobilenet v1 fpn on android 在 Mackbook air m1 的外部 ssd 上安装 Android studio - Install Android studio on external ssd on Mackbook air m1 在SSD或Mechanical Disk Drive上安装Android Studio和SDK - Install Android Studio and SDK on SSD or Mechanical Disk Drive values-sw300dp是否可以在较低版本的Android上运行? - Is values-sw300dp working on lower versions of Android?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM