-
Notifications
You must be signed in to change notification settings - Fork 556
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
roi_level = 4 + log2(torch.sqrt(h*w)/(224.0/torch.sqrt(image_area))) #27
Comments
I have the same problem |
@xllau |
@himpsky Hi, how to deal with Rois = []. When I try to train coco.py, an issue called "dimension out of range (expected to be in range of [-1, 0], but got 1)" account. Issue see as follows, And, we found it come into branch positive_count <=0 and negative_count <= 0, which resulted in 'rois = Variable(torch.FloatTensor(), requires_grad=False)'. How to deal with this situation? |
I still cannot figure out this meaning. Can any one explain this for me? Much appreciation!
roi_level = 4 + log2(torch.sqrt(h*w)/(224.0/torch.sqrt(image_area)))
Equation 1 in the Feature Pyramid Networks paper. Account for
the fact that our coordinates are normalized here.
e.g. a 224x224 ROI (in pixels) maps to P4
The text was updated successfully, but these errors were encountered: