Turoad/CLRNet

ImportError: cannot import name 'nms_impl' from 'clrnet.ops' (/content/drive/MyDrive/model6/clrnet/clrnet/ops/__init__.py)

Closed this issue · 6 comments

The nms_impl does not exist in this GitHub
Screenshot (91)
repo.

The nms_impl does not exist in this GitHub Screenshot (91) repo.

Did you run command python setup.py build develop first ?

I did, But I think something went wrong earlier.
Now it is working fine, Thank you!
Can you also help me with the setting up of dataset directory and the linking part?

Yes, this is depends on dataset_path field in config, like this:

dataset_path = './data/CULane'

So assume your downloaded CULane dataset stored in /tmp/CULane, you can setting up in following steps:
cd CLRNet && mkdir data && ln -s /tmp/CULane data/CULane

Thank you!

I run command python setup.py build develop first, but it still shows the 'ImportError: cannot import name 'nms_impl' from 'clrnet.ops'. What should I do to deal with this error

I run command python setup.py build develop first, but it still shows the 'ImportError: cannot import name 'nms_impl' from 'clrnet.ops'. What should I do to deal with this error我首先运行命令 python setup.py builddevelop,但它仍然显示“ImportError:无法从‘clrnet.ops’导入名称‘nms_impl’”。我应该怎么处理这个错误

Have you solved this problem? I am also getting an error now:
image