mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-03-09 15:34:54 +08:00
Cleanup sd_hijack_ddpm_v1.py
Forgot some things to revert
This commit is contained in:
parent
4bc2963320
commit
41907b25f0
@ -4,12 +4,10 @@
|
||||
# Some models such as LDSR require VQ to work correctly
|
||||
# The classes are suffixed with "V1" and added back to the "ldm.models.diffusion.ddpm" module
|
||||
|
||||
import sys
|
||||
import torch
|
||||
import torch.nn as nn
|
||||
import numpy as np
|
||||
import pytorch_lightning as pl
|
||||
import pytorch_lightning.utilities.rank_zero
|
||||
from torch.optim.lr_scheduler import LambdaLR
|
||||
from einops import rearrange, repeat
|
||||
from contextlib import contextmanager
|
||||
|
Loading…
Reference in New Issue
Block a user