-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Couldnt convert to OpenVino #40
Comments
what's your tiny model?Custom model or official yolov4tiny? you should install all the prerequisites according to openvino what configuration you have changed?? |
And why you use yolo_v4_tiny.json but there is detector/cspdarknet-53/Conv/BatchNorm/FusedBatchNormV3/beta in your model? |
Its my custom yolov4-tiny model Here .json [ I couldnt understand why detector is "detector/cspdarknet-53/Conv/BatchNorm/FusedBatchNormV3/beta" |
Where do you find this json file? [ |
It's anchors from my .cfg file |
"id" must be "TFYOLOV3" |
Its better. Trying to install prerequisites according to openvino. |
[17. 19. 1... The above exception was the direct cause of the following exception: Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): |
Hi TNTWEN
ENVIROMENT |
@osivinyuk or @LouisDong1995 did you resolve your error? I am seeing the exact same error for yolov4 tiny model and wondering if you found a solution, thanks so much for your reply in advance |
@LouisDong1995 I have sold it, but need to remember how to do it) |
python "C:\Program Files (x86)\Intel\openvino_2021\deployment_tools\model_optimizer\mo.py" --input_model frozen_darknet_yolov4_model.pb --transformations_config yolo_v4_tiny.json --batch 1 --reverse_input_channels Model Optimizer arguments: Common parameters: - Path to the Input Model: C:!Oleg!!!Optimization\OpenVINO-YOLOV4-master\frozen_darknet_yolov4_model.pb - Path for generated IR: C:!Oleg!!!Optimization\OpenVINO-YOLOV4-master. - IR output name: frozen_darknet_yolov4_model - 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: None - Reverse input channels: True TensorFlow specific parameters: - Input model in text protobuf format: 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 - Use the config file: None Model Optimizer version: 2021.2.0-1877-176bdf51370-releases/2021/2 [ WARNING ] Detected not satisfied dependencies: test-generator: installed: 0.1.2, required: == 0.1.1 Please install required versions of components or use install_prerequisites script C:\Program Files (x86)\Intel\openvino_2021\deployment_tools\model_optimizer\install_prerequisites\install_prerequisites_tf.bat Note that install_prerequisites scripts may install additional components. [ ERROR ] Exception occurred during running replacer "fusing" (<class 'extensions.middle.fusings.Fusing'>): After partial shape inference were found shape collision for node detector/cspdarknet-53/Conv/BatchNorm/FusedBatchNormV3/beta (old shape: [ 1 32 416 416], new shape: [ 1 32 416 -1])
I was trying different configurations, but couldnt convert
The text was updated successfully, but these errors were encountered: