-
Notifications
You must be signed in to change notification settings - Fork 26
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
transfrom_axis = [input[p] for p in perm] IndexError: list index out of range #72
Comments
Hi @zhang0557kui thank you for reporting this issue. Could you help to attach the model that triggers the error? |
|
Same issue when trying to convert palm_detection_full. |
It maybe a PReLu related issue |
same issue when converting this model: https://github.com/google/mediapipe/tree/master/mediapipe/modules/face_landmark/face_landmark.tflite I solved this probelm temporary by changing this two files in your lib code:
and
By the way, I have another problem when converting another model: https://github.com/google/mediapipe/tree/master/mediapipe/modules/face_landmark/face_landmark_with_attention.tflite thx. |
@crazySyaoran Glad to hear that you resolved this issue! I was assuming the two inputs of PReLU have the same rank, but they should be broadcastable. I think we can share the For custom ops, unfortunality, |
File "D:\anaconda3\lib\site-packages\tflite2onnx\layout.py", line 27, in transform
output = transform(input, self.source, self.target)
File "D:\anaconda3\lib\site-packages\tflite2onnx\layout.py", line 16, in transform
transfrom_axis = [input[p] for p in perm]
File "D:\anaconda3\lib\site-packages\tflite2onnx\layout.py", line 16, in
transfrom_axis = [input[p] for p in perm]
IndexError: list index out of range
python-BaseException
The text was updated successfully, but these errors were encountered: