From 60a981343ef5b805c5860920bd306d303cdef7b7 Mon Sep 17 00:00:00 2001 From: patil-suraj Date: Fri, 1 Jul 2022 12:55:30 +0200 Subject: [PATCH] actually fix the typo --- src/diffusers/models/resnet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/diffusers/models/resnet.py b/src/diffusers/models/resnet.py index ba0f9e81..4983016c 100644 --- a/src/diffusers/models/resnet.py +++ b/src/diffusers/models/resnet.py @@ -86,7 +86,7 @@ class Upsample(nn.Module): self.use_conv = use_conv self.dims = dims self.use_conv_transpose = use_conv_transpose - self.name = self.name + self.name = name if use_conv_transpose: conv = conv_transpose_nd(dims, channels, self.out_channels, 4, 2, 1)