px2graph icon indicating copy to clipboard operation
px2graph copied to clipboard

What does this file proposals.h contain?

Open longweiwei opened this issue 4 years ago • 1 comments

hi @anewell I want to reproduce the same results as in your paper. Current,the program has been run through, but I don't know what the documents ( e.g. imscales, im_to_roi_idx, num_rois, rpn_rois,rpn_scores those are included in proposals.h) are respectively? I also looked up the code base that generated this file,but, unfortunately, not found . If you can tell me the answer of the question, I will be very grateful.

longweiwei avatar Oct 20 '19 13:10 longweiwei

All detected regions for all images are concatenated into one big list. So:

  • im_to_roi_idx specifies where in the list to find the proposals for a particular image
  • num_rois specifies how many proposals there are for that image
  • rpn_rois are the actual coordinates of the boxes
  • rpn_scores are the scores associated with each proposal

You can see how I use these values here: https://github.com/princeton-vl/px2graph/blob/master/data/genome/ref.py#L85

anewell avatar Oct 23 '19 21:10 anewell