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

Details about how to extract sd features #9

Open
GOZGOXGOYGO opened this issue Nov 20, 2023 · 1 comment
Open

Details about how to extract sd features #9

GOZGOXGOYGO opened this issue Nov 20, 2023 · 1 comment

Comments

@GOZGOXGOYGO
Copy link

Hi Junyi,

I am confused about how to extract sd features. Actually the file extractor_sd.py seems to output a feature in shape of [1, 1280, 16, 16] without obvious semantic information. And it seems to use the model weights from project ODISE. Could you please provide a script to easily extract and visualize the sd features using publicly available stable diffusion model weights? Thanks a lot!

image
@Junyi42
Copy link
Owner

Junyi42 commented Nov 24, 2023

Hi, thanks for your interest in our work.

Please refer to this notebook for a detailed extraction and visualization.

We only use the weights of ODISE implicit captioner and its post-processor for segmentation, and the rest is SD-1-5 public weight. We are planning to provide the script only using the public stable diffusion weight, but unfortunately I'm in the middle of a few things and won't be able to update it before mid-December.

Best,
Junyi

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