Faster-rcnn.pytorch: Getting features for each image region

Created on 18 Jan 2018  Â·  9Comments  Â·  Source: jwyang/faster-rcnn.pytorch

Hello,

is it possible to use this implementation to get features for each image region like they do in the bottom-up attention model of Bottom-Up and Top-Down Attention for Image Captioning and Visual Question Answering?

Thank you!

Most helpful comment

hey - I've been able to amend the code for extracting the features pretty easily

in the class _fasterRCNN forward method, return also the pooled_feat parameter - it contains feature vector of each region proposal.

return statement of _fasterRCNN.forward() :

return rois, cls_prob, bbox_pred, rpn_loss_cls, rpn_loss_bbox, RCNN_loss_cls, RCNN_loss_bbox, rois_label, **pooled_feat**

All 9 comments

@claudiogreco, Yes, we have that locally. We will add feature extraction part to this repo.

Thank you! It would be very useful for my work! Do you roughly know when you will commit this feature?

@claudiogreco , it will be very soon, tomorrow or the day after it.

Hi @jwyang ,

do you have news about this feature?

Thank you!

Hi @claudiogreco I'll try to upload the feature extraction part in 1 or 2 days.

@jiasenlu - any news on this?

@jiasenlu any new updates?

hey - I've been able to amend the code for extracting the features pretty easily

in the class _fasterRCNN forward method, return also the pooled_feat parameter - it contains feature vector of each region proposal.

return statement of _fasterRCNN.forward() :

return rois, cls_prob, bbox_pred, rpn_loss_cls, rpn_loss_bbox, RCNN_loss_cls, RCNN_loss_bbox, rois_label, **pooled_feat**

Closing this issue for now, thanks for @dotannn !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

twangnh picture twangnh  Â·  5Comments

EmmaSRH picture EmmaSRH  Â·  4Comments

gullalc picture gullalc  Â·  4Comments

kebijuelun picture kebijuelun  Â·  5Comments

gayathrimahalingam picture gayathrimahalingam  Â·  3Comments