Import fix for unet

This commit is contained in:
James Betker 2020-11-14 22:09:18 -07:00
parent 5cade6b874
commit 9af049c671

View File

@ -4,6 +4,9 @@ from math import log2
import torch
import torch.nn as nn
from models.archs.stylegan.stylegan2 import attn_and_ff
def leaky_relu(p=0.2):
return nn.LeakyReLU(p)