Coder Social home page Coder Social logo

Comments (3)

PINTO0309 avatar PINTO0309 commented on May 19, 2024

Please reinstall Tensorflow v1.12.0 and try converting again.

from openvino-yolov3.

winnie840202 avatar winnie840202 commented on May 19, 2024

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.

winnie840202 avatar winnie840202 commented on May 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.