Skip to content

Commit

Permalink
Merge pull request NVlabs#3 from pbizimis/main
Browse files Browse the repository at this point in the history
Add weight layer to cff
  • Loading branch information
dvschultz authored Mar 24, 2021
2 parents 6e64aa0 + d24f806 commit 182a62c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion closed_form_factorization.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
modulate = {
k[0]: k[1]
for k in G.named_parameters()
if "affine" in k[0] and "torgb" not in k[0] and "weight" in k[0]
if "affine" in k[0] and "torgb" not in k[0] and "weight" in k[0] or ("torgb" in k[0] and "b4" in k[0] and "weight" in k[0] and "affine" in k[0])
}

weight_mat = []
Expand Down

0 comments on commit 182a62c

Please sign in to comment.