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

where is the key code of the tansformer? #7

Closed
henbucuoshanghai opened this issue Jan 8, 2021 · 1 comment
Closed

where is the key code of the tansformer? #7

henbucuoshanghai opened this issue Jan 8, 2021 · 1 comment

Comments

@henbucuoshanghai
Copy link

No description provided.

@rromb
Copy link
Collaborator

rromb commented Jan 11, 2021

Hi there, thanks for checking out our code!

  • The essential code for the transformer is defined by the class GPT at taming/modules/transformer/mingpt.py (which is basically the model implemented here) and trained via the pytorch-lightning module Net2NetTransformer in taming/models/transformer/cond_transformer.py.
  • The pl-module defining the VQGAN is VQModel in taming/models/vqgan.py

Let us know if this does not answer your question.

@rromb rromb closed this as completed Feb 17, 2021
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