-
Notifications
You must be signed in to change notification settings - Fork 45.4k
Description
Please go to Stack Overflow for help and support:
http://stackoverflow.com/questions/tagged/tensorflow
Also, please understand that many of the models included in this repository are experimental and research-style code. If you open a GitHub issue, here is our policy:
- It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).
- The form below must be filled out.
Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.
System information
- What is the top-level directory of the model you are using: object_detection
- Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Window 10
- TensorFlow installed from (source or binary): binary, installed from pip: pip install tensorflow
- TensorFlow version (use command below): 1.8
- Bazel version (if compiling from source): None
- CUDA/cuDNN version: None
- GPU model and memory: None
- Exact command to reproduce: None
You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
I used TensorFlow Android Camera Demo, which is TF Detect, at this link:
(https://github.com/tensorflow/tensorflow/tree/r1.9/tensorflow/examples/android)
I trained my own model using SSD w/Mobilenet detector using my own data, then I imported the frozen model (about 20MB) to Android project and it was working well on my phone: Samsung S7Edge, 4GB Ram.
Now, I changed from SSD w/Mobilenet detector to Faster RCNN because Faster RCNN gives higher accuracy as many people stated. The frozen model is checked on Jupyter Notebook and the result is good. The frozen model is about 110MB and I imported to Android project. With 4GB Ram of Samsung S7Edge I believe it will be okies but there is no output result and the app crashed. So, my questions are:
Is Faster RCNN model not suitable for mobile? what should I do to make it work on Mobile?
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.