-
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
arcface model is invalid #91
Comments
Hi @snnn, I tried viewing the above model using Netron and for me the second input B for Sub operator shows up as float tensor in Netron. |
Hi @ankkhedia It's float64 ? |
@snnn is the problem that the type needs to be the same for both? |
Yes. |
@ankkhedia can you fix the model? |
@prasanthpul I will take a look. |
@ankkhedia any update on this? |
Hi @prasanthpul Sorry for being late as got pulled into some other things. I will try to prioritise it this week. |
@prasanthpul @snnn It seems to be error in MXNet-ONNX converter. I have raised an issue with the team apache/mxnet#13044 |
This is not good. We'd remove these models if they're invalid. We can add them back after fixing those issues. @snnn are there more model issues you saw please? Thank you very much for bringing this up! |
In addition to Arcface, there are also problems in:
|
@ankkhedia Any update? Could you please confirm if these models have problems? Thanks |
I will check other models. However, Arcface issue has been fixed and I will update the new model. |
Hi @snnn Could you please point to the problems with the above models you listed so that I can take a look. |
The inputs to GEMM operator, are not 2D tensors. They have more than 2 dimensions. |
@snnn This has been discussed in this issue before. #90. As far as I know, support for GEMM in ONNX-MXNet is either work in progress or has been done. I will post new model if the support has been added. |
Hi @ankkhedia , do you have an estimated time of completion? |
@snnn I will have to check with ONNX-MXNet converter team to be able to give a clear ETA. |
@ankkhedia I think your last comment is about the other models. can you confirm whether arcface model has been fixed? Will you be posting a 1.3 version as well? |
The issue was already there 3 months, but we still don't know when it can be fixed? |
@snnn lets create separate issue for the other models. this issue is only for arcface. |
@snnn @prasanthpul The model has been fixed and updated in the S3. I checked the model structure with Netron and float64 issue is not there anymore. |
Thanks @ankkhedia. Looks like only 1.2 (opset7) version is posted. will you be posting 1.3 as well? |
Hi @ankkhedia , could please verify it? It is still wrong. |
@snnn Sorry for the miss. I uploaded renet100.onnx file. I will change this tar too. |
@snnn added the latest tar file. |
Can we fix ArcFace's README.md so that the table to download the model is correct? The download link was changed to download an OpSet8 model. Currently, there is only one download link for ArcFace and it's labeled as OpSet 7, v1.2.1. However, the link downloads an OpSet8 v1.3 version of the model. |
updated :) |
Hi @ankkhedia , the old issue is fixed, but we get new one. |
Hi @ankkhedia , Could you verify issue? Thanks. |
Hi @snnn, I verified this issue on my end. We are actively working on both Prelu and Gemm issue mentioned and re-upload the models as early as we can. Thanks for reporting this and sorry for the inconvenience it has caused. |
Hi @snnn There are open PR to fix the above issues with Prelu and GEMM. We will update the model once the PR are merged. |
Hi @ankkhedia , thank you for fixing it. I'm having a vacation, with poor internet connection. I'll ask my colleague for help. |
The problem is solved. Thanks! |
Hi @ankkhedia , would you please put the new model in https://github.com/onnx/models/tree/master/models/face_recognition/ArcFace ? |
@snnn I have updated the model in https://s3.amazonaws.com/onnx-model-zoo/arcface/resnet100/resnet100.onnx Could you please verify? |
My bad. Updating the same |
@snnn |
Perfect. Thanks! |
@ankkhedia Hi, How can I convert the arcface mxnet model to onnx model without the float64 error? THX! |
@snnn @ankkhedia I get the error. It may be same as your error. Maybe it as |
@snnn @ankkhedia have you right model with spatial=1? |
@ankkhedia |
@luan1412167 |
hi @ankkhedia @snnn i also try to convert arcface LResNet100E-IR mxnet to onnx by using convert_onnx.py. Then, it seem that, i got the same error with @snnn when i deploy my model.
Can you guide me how to fix it? |
@vinitra is fixing it. |
I downloaded the model from:
https://s3.amazonaws.com/onnx-model-zoo/arcface/resnet100/resnet100.onnx
If you open the model, take a look at the second OP: Sub. Its first input, A, is a float tensor, but its second input, B, is a double tensor.
The text was updated successfully, but these errors were encountered: