forked from mrq/DL-Art-School
Import fix for unet
This commit is contained in:
parent
5cade6b874
commit
9af049c671
|
@ -4,6 +4,9 @@ from math import log2
|
||||||
import torch
|
import torch
|
||||||
import torch.nn as nn
|
import torch.nn as nn
|
||||||
|
|
||||||
|
from models.archs.stylegan.stylegan2 import attn_and_ff
|
||||||
|
|
||||||
|
|
||||||
def leaky_relu(p=0.2):
|
def leaky_relu(p=0.2):
|
||||||
return nn.LeakyReLU(p)
|
return nn.LeakyReLU(p)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user