AttributeError: partially initialized module ‘onnx’ has no attribute ‘load’ (most likely due to a circular import)

修改onnx模型时,出的问题,调查了一大圈发现是因为,我的py文件名是onnx.py和import onnx 冲突了,只要修改文件名即可

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐