You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which generated the frozen_darknet_yolov4_model.pb file.
I used my os python /usr/bin/python3 to create a venv, which was different from the condo env I had created, because OpenVINO seemed not capable with anaconda.
bash # use a different shell that has not been init with conda. I used zsh before so now I used bash.
# Than follow the installation guide provided by intel.source /opt/intel/openvino_2021/bin/setupvars.sh
cd /opt/intel/openvino_2021/deployment_tools/model_optimizer/install_prerequisites
sudo ./install_prerequisites_tf.sh ## DO NOT use ./install_prerequisites.sh or ./install_prerequisites_tf2.sh
Finally, modify yolov4.json and run the mo script in the env created in step 2.
### Remember to use the same shell that you performed step2
python3 "/opt/intel/openvino_2021/deployment_tools/model_optimizer/mo.py" --input_model frozen_darknet_yolov4_model.pb --transformations_config yolov4.json --batch 1 --reverse_input_channels
AttributeError: module ‘tensorflow‘ has no attribute ‘contrib‘
how can use ,because we are usu openvino2021.4.2
The text was updated successfully, but these errors were encountered: