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

demo,demo_rfcn use cpu version of nms when in cpu_mode #87

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

demo,demo_rfcn use cpu version of nms when in cpu_mode #87

wants to merge 1 commit into from

Conversation

samlich
Copy link

@samlich samlich commented Oct 15, 2017

nms_wrapper.py uses CPU mode when cfg.USE_GPU_NMS isn't set or it's passed force_cpu as True.

When --cpu was provided, demo.py and demo_rfcn.py did not set cfg.USE_GPU_NMS, which defaulted to True. So, NMS always operated in GPU mode. This caused sometimes the console to spew 'unknown error', and the bounding boxes on each object to not be combined; in other setups the program did not run at all.

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

Successfully merging this pull request may close these issues.

1 participant