diffusion-anomaly icon indicating copy to clipboard operation
diffusion-anomaly copied to clipboard

Missing ')' in code

Open 42elenz opened this issue 1 year ago • 0 comments

Hey! I just found, that you are missing a ')' in your code in the unet.py line 901

h = self.middle_block(h, emb MISSING )

    if self.pool.startswith("spatial"):
        results.append(h.type(x.dtype).mean(dim=(2, 3)))
        h = th.cat(results, axis=-1)
        return self.out(h)
    else:
        h = h.type(x.dtype)
        return self.out(h)

42elenz avatar May 23 '23 09:05 42elenz