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

ImportError: cannot import name '_gradient' from 'lib.eco.features' (E:\PyCharmProjects\KCF-master\lib\eco\features\__init__.py) #21

Open
ImageWQ opened this issue Dec 22, 2020 · 2 comments

Comments

@ImageWQ
Copy link

ImageWQ commented Dec 22, 2020

ImportError: cannot import name 'gradient' from 'lib.eco.features' (E:\PyCharmProjects\KCF-master\lib\eco\features_init.py)
在\lib\eco\features下的_gradient只有一个.cpp文件,这个import导入出错,是啥原因呢?求大神指点迷津!

@fengyang95
Copy link
Owner

编译了吗 看样子可能是没编译那个模块

@Rainbowliu123
Copy link

老师您好!我也有同类问题。我注意到文件中有一个_gradient.cpp,请问这个C文件该如何编译呢?我在pycharm中没有发现编译按钮,非常感谢您的指导!☺

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

3 participants