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

Some questions on training #7

Open
eastwind123 opened this issue Feb 20, 2023 · 3 comments
Open

Some questions on training #7

eastwind123 opened this issue Feb 20, 2023 · 3 comments

Comments

@eastwind123
Copy link

I am trying to train this model on a new dataset. I noticed that the prompt in stage2 said "the teacher can be any sgan3 pretrained model, e.g. from the stylegan3 official repository also works", so I downloaded the stylegan3 pre-training model on NVIDIA catalog(https://catalog.ngc.nvidia.com/orgs/nvidia/teams/research/models/stylegan3), but when it was used as the stage2 teacher, an error was reported that the size of the Tensor did not match, I want to know why this error occurred? Am I got it wrong?
LI2F)U $ @5GBEO)C7UMWXH
Sorry to take up your time. I'm looking forward to your reply.

@eastwind123 eastwind123 changed the title some questions in training Some questions on training Feb 20, 2023
@woctezuma
Copy link

I believe the downloaded model expects resolution 512 instead of 256.

@eastwind123
Copy link
Author

I believe the downloaded model expects resolution 512 instead of 256.

I also tried it, but the size of the Tensor still doesn't match. The error is “The size of tensor a (24) must match the size of tensor b (12) at non-singleton dimension 0”.

@chail
Copy link
Owner

chail commented Feb 21, 2023

I think specifically for that model you might need to change the cbase parameter using --cbase=16384 (and maybe also --cmax=512) to match the number of channel dimensions.

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

3 participants