-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[Bug]: Mish activation function crashes openvino model benchmark on NPU #24461
Labels
Comments
Any updates on this? |
@EmbeddedPaul166 we've done a quick test with the provided steps on a MTL with NPU (Intel Core Ultra 7 155H) and the issue is not observed. Please try using the latest OpenVINO version 2024.3 and the latest NPU driver and see if the issue is fixed on your end. You can refer to the model conversion to OpenVINO IR in the code snippet below. Hope this helps.
|
It works now, thank you :D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OpenVINO Version
2024.1.0
Operating System
Windows System
Device used for inference
NPU
Framework
Keras (TensorFlow 2)
Model used
Custom
Issue description
Consider a following workflow:
Problem: Adding mish activation function to convolutional layer makes benchmark_app crash on NPU.
Tests were performed on a laptop with Intel Core Ultra 7 155H CPU. Tensorflow version was 2.14.0.
Step-by-step reproduction
Step 1: Model creation in tensorflow
import tensorflow as tf
inp = tf.keras.Input((None, None, 1), dtype=tf.float32)
y = tf.keras.layers.Conv2D(32, (3, 3), padding='same', activation=tf.keras.activations.mish)(inp)
model = tf.keras.Model(inputs=inp, outputs=y)
tf.keras.models.save_model(model, 'test_model')
Step 2: Model conversion to openvino format
mo.exe --saved_model_dir .\test_model --input input_1 --input_shape [1,256,256,1]
Step 3: Performing benchmark on NPU
benchmark_app.exe -m saved_model.xml -hint ctput -data_shape "[1, 256, 256, 1]" -inference_only -report_type detailed_counters -d NPU
Relevant log output
Issue submission checklist
The text was updated successfully, but these errors were encountered: