SukyoungCho

Results comments of SukyoungCho

> @SukyoungCho > > Can you refer this [tutorial](https://www.tensorflow.org/lite/tutorials/model_maker_image_classification) and see if it helps you.Thanks! does it support TF2 EfficientDet models? https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/running_on_mobile_tf2.md ![image](https://user-images.githubusercontent.com/42918208/95168237-f986c480-07eb-11eb-9a88-a1647bb2711c.png)

@srjoglekar246 It would be appreciated if you could answer this

@srjoglekar246 Thanks for your reply. I tried to export TFLite-friendly SavedModel using following command line. I am confused that how "TFLite-friendly SavedModel" is different from the SavedModel from Model Zoo...

@srjoglekar246 Hi, I got this error while quantizing. Wonder if you are familiar with this kind of error. ![image](https://user-images.githubusercontent.com/42918208/95943840-da0e1e00-0e21-11eb-87a7-ed8361919557.png)

@srjoglekar246 Hi, I tried to train the model from a model zoo and convert it to .tflite and quantize it. However, there were 2 critical issues. 1. During the training,...

@srjoglekar246 This is how I ran the step 1 ``` CUDA_VISIBLE_DEVICES=1 tflite_convert \ --saved_model_dir=/root/ecomfort/tf2_model_zoo/tflite/ssd_mobilenet_v2_fpnlite_320x320_coco17_tpu-8/saved_model \ --output_file=/root/ecomfort/tf2_model_zoo/tflite/ssd_mobilenet_v2_fpnlite_320x320_coco17_tpu-8/test.tflite ``` and this is how I ran the step 2 `CUDA_VISIBLE_DEVICES=1 python demo_convert.py` and...

@srjoglekar246 sorry for confusing. this is how i ran `export_tflite_grpah_tf.py` ``` CUDA_VISIBLE_DEVICES=1 python object_detection/export_tflite_graph_tf2.py \ --pipeline_config_path /root/ecomfort/tf2_model_zoo/ssd_mobilenet_v2_fpnlite_320x320_coco17_tpu-8/pipeline.config \ --trained_checkpoint_dir /root/ecomfort/tf2_model_zoo/ssd_mobilenet_v2_fpnlite_320x320_coco17_tpu-8/checkpoint \ --output_directory /root/ecomfort/tf2_model_zoo/tflite/ssd_mobilenet_v2_fpnlite_320x320_coco17_tpu-8 ``` Yes, I ran about 12000 steps...

@srjoglekar246 Should I implement preprocess within the script? like this? ``` import tensorflow as tf # Convert the model converter = tf.lite.TFLiteConverter.from_saved_model("/root/ecomfort/tf2_model_zoo/tflite/ssd_mobilenet_v2_fpnlite_320x320_coco17_tpu-8/saved_model") converter.optimizations = [tf.lite.Optimize.DEFAULT] def preprocess(image, height, width, central_fraction=0.875,...

@srjoglekar246 When I try to quantize the model, using the script above. It still gives me an error message below.. ![image](https://user-images.githubusercontent.com/42918208/96391060-5e7de980-11f2-11eb-901f-8f2b516a7d53.png) this is the exact script ``` import tensorflow as...

> @SukyoungCho Can you confirm if conversion to float works? I remember it worked before. But, I will try it again and update it as soon as possible.