darknet icon indicating copy to clipboard operation
darknet copied to clipboard

Add rotation support in detector train mode

Open robosina opened this issue 3 years ago • 2 comments

I have added rotation support in detection mode, if anyone wants to have rotation then you can add angle_detector in cfg file, for example I want to have rotation between [-20,20] then I will add the argument like the below :

 [net]
 batch=64
 subdivisions=8
 .
 .
 angle_detector = 20

Then images will be rotated randomly between [-20,20]

Note that this will be works if you compiled with opencv.

robosina avatar Oct 10 '20 12:10 robosina

Hello, thanks for your work! I am also interested in the support for rotated bounding boxes. Can your code support all angle (-180~180) prediction?

lcy0604 avatar Nov 11 '20 07:11 lcy0604

@robosina hello, thanks for your works applying your code and testing, result is not good. unlike previous training, mAP dose not rise. are you working well?

syjeon121 avatar Jan 11 '21 06:01 syjeon121