Possible problem on latest ONNX model version types
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 9.8k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
TVM compilation fails with models committed in the last month
Using TVM I attempted to compile some classification vision models from those uploaded lately (in the last month) - such as GoogleNet v12 and AlexNet v12, but I also tried much more. I received the following error to the platform:
Check failed: type_code_ == kDLFloat (8 vs. 2) : expected float but got Object.
However, older models (such as Googlenet v9, etc) work without any problems from the repo.
Now, this is an error raised to TVM, where there was an old issue report with no clear answer on their forum, which I re-raised. However, since this is something common to all models uploaded lately, I thought to ask here as well, in case there is a common model creation process that may introduce this error. I would suspect a type conversion and specific handling on a layer, but I do not have a clear picture on this.
Of course, I am also not 100% sure this is ONNX related, however I would like to hear your insight on this issue. Thank you!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported TVM compilation failure with GoogleNet v12 and AlexNet v12, then compare them with older working versions such as GoogLeNet v9. Inspect whether a common model-creation process, type conversion, or layer difference explains the error; done means determining whether the issue is in the submitted models and documenting the cause or next action.
Written by the indexing model from the issue text.
Assessment
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100