From 6092f8d752fef6bf7f4e3c4e9fb0320dd7242023 Mon Sep 17 00:00:00 2001 From: kongdebug <52785738+kongdebug@users.noreply.github.com> Date: Thu, 24 Mar 2022 20:30:56 +0800 Subject: [PATCH] Update gpen.py fixed bug of importing ppgan model --- paddlers/models/ppgan/models/generators/gpen.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/paddlers/models/ppgan/models/generators/gpen.py b/paddlers/models/ppgan/models/generators/gpen.py index df72662..f0bd851 100644 --- a/paddlers/models/ppgan/models/generators/gpen.py +++ b/paddlers/models/ppgan/models/generators/gpen.py @@ -17,9 +17,9 @@ import paddle import paddle.nn as nn import math -from ppgan.models.generators import StyleGANv2Generator -from ppgan.models.discriminators.discriminator_styleganv2 import ConvLayer -from ppgan.modules.equalized import EqualLinear +from ...models.generators import StyleGANv2Generator +from ...models.discriminators.discriminator_styleganv2 import ConvLayer +from ...modules.equalized import EqualLinear class GPEN(nn.Layer): def __init__(