Skip to content
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

How to get origin images? #14

Open
zml110120 opened this issue Jan 1, 2023 · 1 comment
Open

How to get origin images? #14

zml110120 opened this issue Jan 1, 2023 · 1 comment

Comments

@zml110120
Copy link

zml110120 commented Jan 1, 2023

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

@232525
Copy link
Owner

232525 commented Jan 3, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants