Skip to content
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

Tracerwaring问题---轉為TVM #15

Open
andrewwang0612 opened this issue Mar 11, 2022 · 0 comments
Open

Tracerwaring问题---轉為TVM #15

andrewwang0612 opened this issue Mar 11, 2022 · 0 comments

Comments

@andrewwang0612
Copy link

不好意思,想要請教您
我在轉換為TVM時,出現了以下的warning,TVM的版本為0.9
所以在您下面需要修改的部分已經有些不一樣了
/home/youwh/ywh/efficientDet--ONNX/efficientnet/utils_extra.py:37: TracerWarning: Converting a tensor to a NumPy array might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
h, w = x.cpu().detach().numpy().shape[-2:]
我不理解它是否會有影響,想詢問一下您這個警告是否有可能會對接下的inference有影響 ?
非常感谢您能回覆!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant