LeoXing1996
LeoXing1996
You can use the following code: ``` model_G = model.generator model_D = model.discriminator ```
We should also fix the lint error of StyleGAN3's config in the next PR.
Please run `pre-commit install` before committing to avoid lint error.
This seems like image loading failed and `mmcv.imfrombytes` with `cv2` backend returns a `NoneType`. Please make sure all images under your folder are valid.
This is a quite useful script for user-defined datasets and you are welcome to create a PR about this. However, I suggest this checking operation should be based on the...
Maybe we can directly build the loading pipeline from the config.
Hey @gvalvano, thanks for your interest in our project. This seems a mistake, and we will fix this soon. We would also be glad that if you could create a...
Please feel free. That lint error is caused by the network error. I just rerun the CI and all checks are passed. We will merge this in this version.
Hey @lizhihao6, thanks for your interest in our project. Can you provide your Pillow version? I will try to reproduce and debug this later.
Some dataset configs are influenced by this change, such as [lsun-car_pad_512](https://github.com/open-mmlab/mmgeneration/blob/69333cfa4b41768b9d700d2a913e3cfa567e1c9e/configs/_base_/datasets/lsun-car_pad_512.py#L9). Please check and fix them as well.