Skip to content

(Deeplab)(ios) (tflite)using deeplab on ios application #7150

Open
@hakS07

Description

@hakS07

System information

  • What is the top-level directory of the model you are using:Deeplab
  • Have I written custom code (as opposed to using a stock example script provided in TensorFlow):no
  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04):macOS
  • TensorFlow installed from (source or binary):binary
  • TensorFlow version (use command below):1.12
  • Bazel version (if compiling from source):0.27
  • CUDA/cuDNN version:Nan
  • GPU model and memory:Nan
  • Exact command to reproduce:tflite_convert ----output_format=TFLITE --inference_type=FLOAT --inference_input_type=FLOAT --input_arrays=sub_2 --input_shapes=1,513,513,3 --output_arrays=ResizeBilinear_2 --output_file=/Users/Karizma/Downloads/deeplabv3_mnv2_pascal_trainvall/frozen-513.tflite --graph_def=/Users/Karizma/Downloads/deeplabv3_mnv2_pascal_trainvall/frozen-513.pb --mean_values=128 --std_dev_values=127 --allow_custom_ops --post_training_quantize

Describe the problem

Hi, I have trained deep lab on my custom dataset(400*300) with 513 as crop size and during the test, it detects for crop with crop size 513 .
now what I need is to integrate my model on ios application, i was able to successfully convert the model to tflite .but i does not detecte anything i don't get it whats the problem
because when i tried to convert a deeplab pretrained mobilenet modellink it works for me on mobile and for my model no ,however i have tested my model (.pb model)with python code and it detects

Source code / logs

this is my model architecture i hope it will be helpful to indrestoud what's going on
Sans titre
Sans titre 2d

Metadata

Metadata

Assignees

Labels

comp:litetf-lite issuesmodels:researchmodels that come under research directory

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions