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

hello!Some questions about models/styleGAN2/op extension! #42

Open
ssxxx1a opened this issue Jul 13, 2021 · 2 comments
Open

hello!Some questions about models/styleGAN2/op extension! #42

ssxxx1a opened this issue Jul 13, 2021 · 2 comments

Comments

@ssxxx1a
Copy link

ssxxx1a commented Jul 13, 2021

I found that the op extension you use here is different from the original one. Is there any difference here? What is the purpose?

@omertov
Copy link
Owner

omertov commented Jul 13, 2021

Hi @ssxxx1a!
The op extensions were taken from rosinality's stylegan2-pytorch implementation.
It seems like rosinality updated the extensions since then (for example, I see cpu support in his new version).

While the current files are the ones I conducted my experiments on, I will look into updating the op extensions.

Thanks for letting me know about this!
Omer

@ssxxx1a
Copy link
Author

ssxxx1a commented Jul 18, 2021

thanks for your reply!
Due to memory issues, I tested model parallelism, which means that the encoder and decoder are placed on different GPUs.
Then I found that there have somes errors (data conflicts) in this expansion, but if the op expansion here is replaced with rosinality version, there will be no problems.
i guess is that the communication between different GPUs may involve the cpu? So rosinality version can resolve this conflict.

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