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

where do i add flag -letter_box ? #3511

Open
faybak opened this issue Jun 28, 2019 · 2 comments
Open

where do i add flag -letter_box ? #3511

faybak opened this issue Jun 28, 2019 · 2 comments

Comments

@faybak
Copy link

faybak commented Jun 28, 2019

i download the update darknet but i don't see where i can tell my training to use letter_box instead of resize, can you help me please?

@AlexeyAB
Copy link
Owner

In the [net] section in cfg-file add letter_box=1 and train: https://github.com/AlexeyAB/darknet/wiki/CFG-Parameters-in-the-%5Bnet%5D-section

More: #3119 (comment)

Then use for detection and mAP calculation flag -letter_box in your command.

@faybak
Copy link
Author

faybak commented Jul 9, 2019

which command?
like that?: ./darknet detector test data/obj.data yolo-obj.cfg yolo-obj_8000.weights -letter box

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

2 participants