PureT icon indicating copy to clipboard operation
PureT copied to clipboard

How to get origin images?

Open zml110120 opened this issue 2 years ago • 1 comments

Dear author, How can i get origin images tensor (just like the first image) ? Not like att_feats = kwargs[cfg.PARAM.ATT_FEATS] tensor (just like the second image).

First image image

Second image get from att_feats = kwargs[cfg.PARAM.ATT_FEATS] image

zml110120 avatar Jan 01 '23 13:01 zml110120

att_feats is transformed images, if you want get raw image, you should check https://github.com/232525/PureT/blob/main/datasets/coco_dataset.py#L18 image

232525 avatar Jan 03 '23 03:01 232525