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

using .pkl file in global directions #71

Open
aksajanjua opened this issue Oct 12, 2021 · 1 comment
Open

using .pkl file in global directions #71

aksajanjua opened this issue Oct 12, 2021 · 1 comment

Comments

@aksajanjua
Copy link

i have custom dataset and i used stylegan for image generation and now i have pretrained .pkl file. how can i use this file to generate images from text using global direction?
thanks in advance

@Liu-Yin
Copy link

Liu-Yin commented Jul 3, 2023

I used the .pkl file in this project and I feel the key point is load the model with the correct way like-- with open('your model path','rb') as f: g_ema = pickle.load(f)['G_ema'].cuda() somthing like that. Nothing special

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