You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I installed the newest package, but have the following error:
from onnx2torch import convert
ImportError: cannot import name 'convert' from partially initialized module 'onnx2torch' (most likely due to a circular import)
What's wrong with me?
The text was updated successfully, but these errors were encountered:
Hello, I met the same issue and successfully solved it.
The reason for "circular import" is that the name of my py file is "onnx2torch", but the model's name is onnx2torch, so they are in conflict.
Maybe you should check you file name : )
Hi
I installed the newest package, but have the following error:
from onnx2torch import convert
ImportError: cannot import name 'convert' from partially initialized module 'onnx2torch' (most likely due to a circular import)
What's wrong with me?
The text was updated successfully, but these errors were encountered: