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

编译nms的问题 #5

Open
xiao9616 opened this issue Oct 21, 2019 · 1 comment
Open

编译nms的问题 #5

xiao9616 opened this issue Oct 21, 2019 · 1 comment

Comments

@xiao9616
Copy link

您好,我在使用make.sh编译nms的时候出现如下错误:
nms/gpu_nms.cpp:6316:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’
tstate->exc_value = local_value;
^
nms/gpu_nms.cpp:6317:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’
tstate->exc_traceback = local_tb;
^
error: command 'gcc' failed with exit status 1

尝试了很多方法,没有解决,网上说是cython的问题?
谢谢

@xiao9616
Copy link
Author

找到问题了,需要删除nms下的cpu_nms.c和gpu_nms.cpp,重新用cython生成
命令:cython cpu_nms.pyx

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

1 participant