Comments (3)
Please reinstall Tensorflow v1.12.0 and try converting again.
from openvino-yolov3.
Please reinstall Tensorflow v1.12.0 and try converting again.
First,thank for your reply.
I use this command : pip3 install tensorflow==1.12.0
When I converting it,the ERROR appear again.
sudo python3 /opt/intel/computer_vision_sdk/deployment_tools/model_optimizer/mo_tf.py
--input_model pbmodels/voc_weights_20190620.pb
--output_dir lrmodels/YoloV3/FP32/
--data_type FP32
--batch 1
--tensorflow_use_custom_operations_config yolo_v3_changed_voc_20190620.json
Model Optimizer arguments:
Common parameters:
- Path to the Input Model: /home/e312/OpenVINO-YoloV3/pbmodels/voc_weights_20190620.pb
- Path for generated IR: /home/e312/OpenVINO-YoloV3/lrmodels/YoloV3/FP32/
- IR output name: voc_weights_20190620
- Log level: ERROR
- Batch: 1
- Input layers: Not specified, inherited from the model
- Output layers: Not specified, inherited from the model
- Input shapes: Not specified, inherited from the model
- Mean values: Not specified
- Scale values: Not specified
- Scale factor: Not specified
- Precision of IR: FP32
- Enable fusing: True
- Enable grouped convolutions fusing: True
- Move mean values to preprocess section: False
- Reverse input channels: False
TensorFlow specific parameters:
- Input model in text protobuf format: False
- Offload unsupported operations: False
- Path to model dump for TensorBoard: None
- List of shared libraries with TensorFlow custom layers implementation: None
- Update the configuration file with input/output node names: None
- Use configuration file used to generate the model with Object Detection API: None
- Operations to offload: None
- Patterns to offload: None
- Use the config file: /home/e312/OpenVINO-YoloV3/yolo_v3_changed_voc_20190620.json
Model Optimizer version: 1.5.12.49d067a0
[ ERROR ] Cannot infer shapes or values for node "detector/darknet-53/Conv/LeakyRelu".
[ ERROR ] Op type not registered 'LeakyRelu' in binary running on e312-System-Product-Name. Make sure the Op and Kernel are registered in the binary running in this process. Note that if you are loading a saved graph which used ops from tf.contrib, accessing (e.g.) tf.contrib.resampler
should be done before importing the graph, as contrib ops are lazily registered when the module is first accessed.
[ ERROR ]
[ ERROR ] It can happen due to bug in custom shape infer function <function tf_native_tf_node_infer at 0x7fe25597f158>.
[ ERROR ] Or because the node inputs have incorrect values/shapes.
[ ERROR ] Or because input shapes are incorrect (embedded to the model or passed via --input_shape).
[ ERROR ] Run Model Optimizer with --log_level=DEBUG for more information.
[ ERROR ] Stopped shape/value propagation at "detector/darknet-53/Conv/LeakyRelu" node.
For more information please refer to Model Optimizer FAQ (<INSTALL_DIR>/deployment_tools/documentation/docs/MO_FAQ.html), question #38.
Thank you.
from openvino-yolov3.
Please reinstall Tensorflow v1.12.0 and try converting again.
Thank you.
I found a mistake.
When I reinstall Tensorflow v1.12.0.
I do not reconvert YoloV3 to Tensorflow weights.
So, When I convert the .pb file to generate .bin and .xml file always failed.
from openvino-yolov3.
Related Issues (20)
- Cannot get results from pb model.
- train
- Darknet19 pre-train model convert error.
- Need help in converting the results into audio output HOT 2
- What is the output mean? HOT 1
- FPS HOT 4
- Yolov3_tiny python mo_tf.py run error
- Openvino performance a lot worse than darknet model HOT 3
- Decoding format of results stored in output blobs
- kvs flask pipeline and async_lock issue on multiple request
- Yolov4 HOT 2
- Not compatible with 2020.4 since the file libcpu_extension.so is missing HOT 2
- Exception:Path to the model tiny-yolo-v3 doesn't exist or it's a directory HOT 6
- IndexError: tuple index out of range HOT 1
- RuntimeError: Can not init Myriad device: NC_ERROR
- Argument shapes are inconsistent; they must have the same rank, and must have equal dimension everywhere except on the concatenation axis (axis 1).
- cnt, dev = heapq.heappop(self.heap_request) IndexError: index out of range
- Rectangle only on the center of the object when running YOLOv3-Tiny on NCS2 with smaller size HOT 2
- In linux, compile darknet as libdarknet.so. I just write a simple yolo_console_dll.cpp to link .so.
- The download scripts for lrmodels fails. 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 openvino-yolov3.