Comments (4)
If it is difficult for you to make your model public, you can share the tflite file with me via DM. I have no idea what the problem is with the information you have provided.
from tflite2tensorflow.
There were three reasons why you failed to convert tflite.
- It is expected that the Docker environment is not used and all necessary modules are not installed.
- Due to the special nature of AutoML's Reshape operation, it is not possible to identify the shape that needs to be changed.
- Cannot convert to blob because sort_result_descending of NMS is true.
All of the above issues have been resolved in v1.13.4. However, the AutoML model is so complex that I had to wait 2 hours and 30 minutes for it to convert to Myriad Blob. The converted blobs have already been shared with you via DM. If everything is ok, close the issue.
from tflite2tensorflow.
I am unsure about #1. I have downloaded the latest docker v1.13.4, but when I run, I get the same error.
sh-5.0$ tflite2tensorflow \
--model_path model.tflite
--flatc_path ../flatc
--schema_path ../schema.fbs
--output_pb
--optimizing_for_openvino_and_myriad
Traceback (most recent call last):
File "/usr/local/bin/tflite2tensorflow", line 6220, in
main()
File "/usr/local/bin/tflite2tensorflow", line 5598, in main
ops, json_tensor_details, op_types, full_json = parse_json(jsonfile_path)
File "/usr/local/bin/tflite2tensorflow", line 265, in parse_json
op_types = [v['builtin_code'] for v in j['operator_codes']]
KeyError: 'operator_codes'.
Thanks again.
from tflite2tensorflow.
I think the only issue was permissions. It ran under sudo no problem.
from tflite2tensorflow.
Related Issues (20)
- Face landmark model: ERROR: conv2d_21 is not in graph HOT 1
- Error on converting of face_landmark.tflite HOT 3
- Error converting face_landmark_with_attention.tflite HOT 2
- Error converting pose_detection.tflite [ No such file or directory: './pose_detection.json' ] HOT 2
- Error converting pose_detection.tflite [ No such file or directory: './pose_detection.json' ] HOT 3
- The shape of the output layer is different from the result of the tensorflow2onnx transformation. HOT 8
- Order of input channels switched on ONNX HOT 2
- Converted mediapipe palm detection coreml model cannot be deployed on IOS app HOT 7
- Add option to optimize tf.math.reduce_prod to Myriad (OAK) HOT 7
- Got error while converting magenta_arbitrary-image-stylization-v1-256_fp16_transfer_1.tflite to .h5 format HOT 1
- ValueError: The name 'serving_default_input_1:0:0' looks a like a Tensor name, but is not a valid one. Tensor names must be of the form "<op_name>:<output_index>". HOT 1
- CoreML conversions of face_landmark_with_attention.tflite fails HOT 3
- No json file HOT 1
- OSError: SavedModel file does not exist at: saved_model/{saved_model.pbtxt|saved_model.pb} HOT 1
- fail to convert [KNIFT] HOT 2
- Use docker but no *.json error HOT 6
- model quantified slower than not quantifed on windows x64 HOT 1
- tflite2tensorflow Docker has flatc error HOT 4
- Problem converting pose_landmark (full) HOT 1
- How to add custom operators to tflite runtime? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tflite2tensorflow.