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

Small bug when using the -thresh parameter #47

Open
Compaile opened this issue Feb 17, 2024 · 0 comments
Open

Small bug when using the -thresh parameter #47

Compaile opened this issue Feb 17, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Compaile
Copy link
Contributor

Hi,

we found a small bug. When you use the -thresh 0.15 parameter for example during the "detector test" call.
The 0.15 gets added into input_fn in run_detector. This is due the Darknet::CfgAndState::process_arguments does not handle params and puts them into additional_arguments. I think the easiest fixt might to skip the next index if the current obj expect a parameter. But since im not quite sure i rather let you decide about the fix

sample command
.\darknet.exe detector test .\xy.data .\xy.cfg .\backup\xy_best.weights -thresh 0.1

@Compaile Compaile added the bug Something isn't working label Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants