CompVis / taming-transformers

Taming Transformers for High-Resolution Image Synthesis
https://arxiv.org/abs/2012.09841
MIT License
5.82k stars 1.15k forks source link

[Code Error] #218

Closed haozhi1817 closed 1 year ago

haozhi1817 commented 1 year ago

https://github.com/CompVis/taming-transformers/blob/3ba01b241669f5ade541ce990f7650a3b8f65318/taming/modules/vqvae/quantize.py#L365 Maybe:

self.codebook_dim = embedding_dim