Closed baihualinxin closed 6 years ago
Nagging Assignee @rohan100jain: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.
Nagging Assignee @rohan100jain: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.
What is the exact reported issue here?
It has been 15 days with no activity and the awaiting response
label was assigned. Is this still an issue?
Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!
Download the network model
MobileNet_v1_1.0_224_quant
https://github.com/tensorflow/models/blob/master/research/slim/nets/mobilenet_v1.md Turn tflite error
bazel run toco -- --input_file=/Users/dchealth/Desktop/mobilenet_v1_1.0_224_quant/mobilenet_v1_1.0_224_quant_frozen.pb --output_file=/Users/dchealth/Desktop/mobilenet_v1_1.0_224_quant/mobilenetnew.tflite --input_format=TENSORFLOW_GRAPHDEF --inference_type=FLOAT --output_format=TFLITE --input_shapes=1,224,224,3 --input_arrays=input --output_arrays=MobilenetV1/Predictions/Reshape_1 --inference_type=QUANTIZED_UINT8 --std_values=128 --mean_values=128
System information 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):mac os 10.13.5
TensorFlow installed from (source or binary):pip
TensorFlow version (use command below):'1.8.0
Python version: 3.6.4
Bazel version (if compiling from source): Build label: 0.14.0-homebrew Build target: bazel-out/darwin-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Fri Jun 1 14:26:58 2018 (1527863218) Build timestamp: 1527863218 Build timestamp as int: 1527863218
GCC/Compiler version (if compiling from source):no
CUDA/cuDNN version:no
GPU model and memory:no
Exact command to reproduce:no
End of run log:
./tensorflow/contrib/lite/builtin_op_data.h:122:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat] typedef struct { ^ ./tensorflow/contrib/lite/builtin_op_data.h:125:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat] typedef struct { ^ ./tensorflow/contrib/lite/builtin_op_data.h:161:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat] typedef struct { ^ ./tensorflow/contrib/lite/builtin_op_data.h:164:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat] typedef struct { ^ ./tensorflow/contrib/lite/builtin_op_data.h:203:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat] typedef struct { ^ 5 warnings generated. INFO: From Compiling tensorflow/contrib/lite/model.cc: In file included from tensorflow/contrib/lite/model.cc:25: ./tensorflow/contrib/lite/builtin_op_data.h:122:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat] typedef struct { ^ ./tensorflow/contrib/lite/builtin_op_data.h:125:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat] typedef struct { ^ ./tensorflow/contrib/lite/builtin_op_data.h:161:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat] typedef struct { ^ ./tensorflow/contrib/lite/builtin_op_data.h:164:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat] typedef struct { ^ ./tensorflow/contrib/lite/builtin_op_data.h:203:9: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat] typedef struct { ^ 5 warnings generated. INFO: From Linking external/protobuf_archive/libprotobuf.a: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/darwin-opt/bin/external/protobuf_archive/libprotobuf.a(gzip_stream.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/darwin-opt/bin/external/protobuf_archive/libprotobuf.a(error_listener.o) has no symbols INFO: From Linking external/protobuf_archive/libprotobuf_lite.a: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/darwin-opt/bin/external/protobuf_archive/libprotobuf_lite.a(arenastring.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/darwin-opt/bin/external/protobuf_archive/libprotobuf_lite.a(atomicops_internals_x86_msvc.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/darwin-opt/bin/external/protobuf_archive/libprotobuf_lite.a(io_win32.o) has no symbols INFO: From Compiling tensorflow/core/lib/strings/numbers.cc: tensorflow/core/lib/strings/numbers.cc:394:34: warning: format specifies type 'unsigned long ' but the argument has type 'uint64_t ' (aka 'unsigned long long ') [-Wformat] if (sscanf(s.c_str(), "%lx%c", &result, &junk) == 1) {