-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Facing Unsupported Layer issues in Facial Land Mark Detection with 98 model #3499
Comments
Hi @joviyal-arun, could you provide more details about problem? Which device do you use for model loading? |
Hi my system configuration is i3processorwith 8 GB Ram. Python 3.6 CODE import cv2 class FacialLandmarkDetection:
input_info
print('supported_layers',len(supported_layers))
print('unsupported_layers',len(unsupported_layers))
n, c, h, w = self.facial_landmark_model.inputs[self.input_blob].shape
facial_landmark = outputs['align_fc3'][0] # For 35 Land Mark Detectionfacial_landmark = outputs['3851'][0,:,0,0]
I am getting unsupported layer length =512 but i require unsupported layer length =0. if unsupported layer length is 0 i will get proper prediction..i dont know whether my code is error or the model .xml , bin file is problem..? |
The issue with unsupported layers can occur when the version of OpenVINO Toolkit that you are using is not compatible with the model you are using. The facial-landmarks-98-detection-0001 model is part of the Open Model Zoo, and it is possible that the model was created using an earlier version of the OpenVINO Toolkit that is not compatible with the version you are currently using. To resolve this issue, you can try updating to a more recent version of the OpenVINO Toolkit, as newer versions typically support a wider range of layers. You can also try to convert the model to a format that is compatible with your current version of OpenVINO using the Model Optimizer tool. Here are the steps to follow: Download the latest version of the OpenVINO Toolkit from the official website. Install the OpenVINO Toolkit and ensure that all dependencies are properly installed. Download the facial-landmarks-98-detection-0001 model from the Open Model Zoo. Use the Model Optimizer tool to convert the model to a format that is compatible with your version of OpenVINO. Here is an example command for converting the model to an Intermediate Representation (IR) format: python /mo.py --input_model /facial-landmarks-98-detection-0001.xml --output_dir /IR_models/ --data_type FP16 Once the conversion is complete, use the converted model in your facial landmark detection application. If you still face issues with unsupported layers, you can check the OpenVINO Toolkit documentation to see the list of supported layers for each version and compare it with the list of layers used in the facial-landmarks-98-detection-0001 model. |
Hai . I am doing facial land mark detection using the model of facial-landmarks-98-detection-0001 I am facing issues with unsupported layer line unsupported_layers = [l for l in ngraph_func.get_ordered_ops() if l.get_friendly_name() not in supported_layers] with version openvino 2022 tool kit .I am downloading the model from https://github.com/openvinotoolkit/open_model_zoo/blob/master/models/intel/facial-landmarks-98-detection-0001/model.yml
The text was updated successfully, but these errors were encountered: