"stylegan2_arch.py" seems to be missing #4

Closed
opened 2026-01-29 21:35:44 +00:00 by claunia · 2 comments
Owner

Originally created by @styler00dollar on GitHub (Jun 4, 2021).

GFPGANv1 seems to import "stylegan2_arch.py" here, but there is no such file in this repo. StyleGAN2Generator and several other things are missing. This file from the BasicSR repo should be included in this repo as well.

Originally created by @styler00dollar on GitHub (Jun 4, 2021). GFPGANv1 seems to import "stylegan2_arch.py" [here](https://github.com/TencentARC/GFPGAN/blob/88fd720a48f2b9e9e2b094e79b51a8d420615167/archs/gfpganv1_arch.py#L7), but there is no such file in this repo. `StyleGAN2Generator` and several other things are missing. [This file](https://github.com/xinntao/BasicSR/blob/cf1e32cdfc9710041ed497e9f5c155ceb7567c8f/basicsr/archs/stylegan2_arch.py) from the BasicSR repo should be included in this repo as well.
Author
Owner

@BounharAbdelaziz commented on GitHub (Jun 14, 2021):

Indeed, I think there are many dependencies with the BasicSR repository

@BounharAbdelaziz commented on GitHub (Jun 14, 2021): Indeed, I think there are many dependencies with the [BasicSR repository](https://github.com/xinntao/BasicSR)
Author
Owner

@xinntao commented on GitHub (Jun 15, 2021):

It depends on BasicSR for both training and inference.

You can easily install basicsr by BASICSR_EXT=True pip install basicsr

A colab example:

https://colab.research.google.com/drive/1sVsoBd9AjckIXThgtZhGrHRfFI6UUYOo

@xinntao commented on GitHub (Jun 15, 2021): It depends on BasicSR for both training and inference. You can easily install basicsr by `BASICSR_EXT=True pip install basicsr` A colab example: https://colab.research.google.com/drive/1sVsoBd9AjckIXThgtZhGrHRfFI6UUYOo
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TencentARC/GFPGAN#4