Turoad / lanedet

An open source lane detection toolbox based on PyTorch, including SCNN, RESA, UFLD, LaneATT, CondLane, etc.
Apache License 2.0
561 stars 93 forks source link

cannot import name 'nms_impl' from partially initialized module 'lanedet.ops' #46

Closed minhoooo1 closed 2 years ago

minhoooo1 commented 2 years ago

when i run main.py The following errors are reported:

Traceback (most recent call last): File "C:/Users/MINHOO/Desktop/大三下比赛/lanedet-main/main.py", line 8, in from lanedet.utils.config import Config File "C:\Users\MINHOO\Desktop\大三下比赛\lanedet-main\lanedet__init.py", line 1, in from .ops import * File "C:\Users\MINHOO\Desktop\大三下比赛\lanedet-main\lanedet\ops\init.py", line 1, in from .nms import nms File "C:\Users\MINHOO\Desktop\大三下比赛\lanedet-main\lanedet\ops\nms.py", line 29, in from . import nms_impl ImportError: cannot import name 'nms_impl' from partially initialized module 'lanedet.ops' (most likely due to a circular import) (C:\Users\MINHOO\Desktop\大三下比赛\lanedet-main\lanedet\ops\init__.py)

Process finished with exit code 1

Turoad commented 2 years ago

Refer this issue: https://github.com/Turoad/lanedet/issues/3. Please read the existing issue before raising new issue.

minhoooo1 commented 2 years ago

All right Thank you!

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年4月13日(星期三) 中午1:02 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [Turoad/lanedet] cannot import name 'nms_impl' from partially initialized module 'lanedet.ops' (Issue #46)

Refer this issue: #3. Please read the existing issue before raising new issue.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>