frcnn icon indicating copy to clipboard operation
frcnn copied to clipboard

Using r-frcnn

Open XWalways opened this issue 5 years ago • 9 comments

I want to use the r-frcnn(rotation) to train my own datasets, What should my data format be ? (cx,cy,w,h,angle) or (x0,y0,x1,y1,x2,y2,x3,y3)? But if it is the former, What is the calculation method and representation of the angle? radian or not?

XWalways avatar Mar 14 '19 01:03 XWalways

The format is (cx, cy, w, h, θ), θ is anti-clockwise radian.

makefile avatar Mar 14 '19 01:03 makefile

for HRSC2016,in the annotation (cx,cy,w,h,angle),w is always larger than h,and the angle is the the angle between widths,Am I right?

XWalways avatar Mar 14 '19 02:03 XWalways

Yes, same as human normal sense.

makefile avatar Mar 14 '19 02:03 makefile

Thanks a lot,good luck for you

XWalways avatar Mar 14 '19 02:03 XWalways

Excuse me ,I have another question,while training on my own dataset, Check failed: error == cudaSuccess (9 vs. 0) invalid configuration argument occurred ,I've browsed your blog at https://www.cnblogs.com/makefile/p/caffe-errors.html,but it cannot solve the error, I have checked my dataset ,class_num = 5 (0 means bg;1,2,3,4,represent the other four categories ) ,How to slove it?

XWalways avatar Mar 15 '19 11:03 XWalways

I'm not sure either, there may be many aspect causing this error. Check your dataset's annotation, and try adjust some of the hyperparams.

makefile avatar Mar 15 '19 11:03 makefile

ok,i will check my data again.i have changed the image size,batch size,gpu id,should i change the anchor settings?

XWalways avatar Mar 15 '19 11:03 XWalways

You can try it, other thing like iou thresh.

makefile avatar Mar 15 '19 11:03 makefile

Sorry to bother you again,the error Check failed: error == cudaSuccess (9 vs. 0) invalid configuration argument occurred has gone ,But the error Check failed: error == cudaSuccess (77 vs. 0) an illegal memory access was encountered appeard,I checked a lot of information, but didn't solve it.

XWalways avatar Mar 25 '19 12:03 XWalways