-
Notifications
You must be signed in to change notification settings - Fork 62
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
ROIMaskHead returns empty proposal tensors #13
Comments
|
I noticed that in the step @mrlooi Do you have any advice on how to deal with this problem? |
How small or big are your proposals? You can't use smaller anchors if they are already too small to fit into a convnet receptive field. Do read up about receptive fields and what that would mean when designing anchors and neural networks. |
Well the dataset I have is of satellite imagery (DOTA dataset) where object areas can vary widely between 3^2 pixels (like vehicles) and 712^2 pixels (like stadiums). Since using the FPN backbone locks the number of anchors that can be used to 5 which should also increase in powers of 2, I set ANCHOR_SIZES = (8, 16, 32, 64, 128). |
@ashnair1 |
❓ Questions and Help
I was able to train the rotated maskrcnn on my dataset. Note that my object contains small objects. However at some point in the code, it returns mask (
selected_mask
) as a tensor of shape [0, 1, 28, 28]. This was also the case for features and labels.Initially I thought it was caused by images with no annotations. But I've checked to see that's not the case. It could be possible that the code is filtering out my objects because they're so small and thus resulting in an empty image.
So I guess my questions are:
The text was updated successfully, but these errors were encountered: