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

Applying IBQ to Multi-Mcale VQVAE in VAR #42

Closed
RohollahHS opened this issue Dec 7, 2024 · 2 comments
Closed

Applying IBQ to Multi-Mcale VQVAE in VAR #42

RohollahHS opened this issue Dec 7, 2024 · 2 comments

Comments

@RohollahHS
Copy link

Hi, Great work.

Can IBQ be applied to the Multi-Scale VQVAE in VAR? and did you try it?

Thanks

@ShiFengyuan1999
Copy link
Collaborator

Hi @RohollahHS, thanks for your interest in our work.

IBQ aims to render all codes differentiable and update the entire codebook in each backward process to ensure consistency with the distribution of the visual encoder by index backpropagation. It is compatible with other widely used quantization tricks like multi-scale and residual quantization. We did not try these for simplicity. It is easy to combine IBQ with these methods, by replacing the indices achieved by these methods with

one_hot = hard_one_hot - soft_one_hot.detach() + soft_one_hot
in IBQ.

@RohollahHS
Copy link
Author

Thanks for the information and your reply.

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