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

Using r-frcnn #13

Open
XWalways opened this issue Mar 14, 2019 · 9 comments
Open

Using r-frcnn #13

XWalways opened this issue Mar 14, 2019 · 9 comments

Comments

@XWalways
Copy link

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?

@makefile
Copy link
Owner

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

@XWalways
Copy link
Author

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?

@makefile
Copy link
Owner

Yes, same as human normal sense.

@XWalways
Copy link
Author

Thanks a lot,good luck for you

@XWalways
Copy link
Author

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?

@makefile
Copy link
Owner

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.

@XWalways
Copy link
Author

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

@makefile
Copy link
Owner

You can try it, other thing like iou thresh.

@XWalways
Copy link
Author

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.

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