Commit Graph

3 Commits (558742c9cb1fc593996e55522a08568f79ff51e5)

Author SHA1 Message Date
Zaida Zhou 1db3967e86
Fix lint (#2702) 2023-03-26 02:06:28 +08:00
Mashiro 5b0cdccc5c
[Fix] Enhance the compatibility of training stylegan 2 (#2694)
* [Fix] Enhance the compatibility of training stylegan 2

* Fix unit test in PyTorch 2.0

* Apply suggestions from code review

---------

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2023-03-26 01:58:38 +08:00
Yifei Yang 869dbf1bf2
[Feature] Add Ops of StyleGAN3 (#2290)
* add bias_act

* support bias_act

* support filtered_lrelu

* support filtered_lrelu and upfirdn2d

* support conv2d_gradfix and fix filtered_lrelu

* fix lint

* fix lint

* fix c++ lint

* fix part comments

* fix lint

* rm redundant header

* fix upgrade pip

* fix as comment

* fix c++ lint

* fix ci

* fix-ut

* fix as comments

* add grad check

* remove redundant template

* Update mmcv/ops/bias_act.py

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* add typehint

* fix as comment:

* complete type hints

* fix lint

* add test for conv_gradfix

* add test for conv_gradfix

* fix lint

* modify licenses and ops.md

* add zh op md

* add torch version policy for conv2d_gradfix

* fix lint

* fix as comments

* rename impl

* rm redudant function and add ut

* fix as comment

* fix lint

* fix lint

* fix as comments

* fix lint

* fix ut

* fix as comment

* fix as comment

* fix as comment

---------

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2023-03-13 16:05:11 +08:00