From 64d6945c5690659a11fd36d263891f2b3d91cc8f Mon Sep 17 00:00:00 2001 From: Johannes Stelzer Date: Wed, 22 Feb 2023 07:50:48 +0100 Subject: [PATCH] cleanup --- latent_blending.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/latent_blending.py b/latent_blending.py index 501239b..2691de9 100644 --- a/latent_blending.py +++ b/latent_blending.py @@ -14,9 +14,6 @@ # limitations under the License. import os, sys -dp_git = "/home/lugo/git/" -sys.path.append('util') -# sys.path.append('../stablediffusion/ldm') import torch torch.backends.cudnn.benchmark = False import numpy as np @@ -25,19 +22,15 @@ warnings.filterwarnings('ignore') import time import subprocess import warnings -import torch from tqdm.auto import tqdm from PIL import Image # import matplotlib.pyplot as plt -import torch from movie_util import MovieSaver import datetime from typing import Callable, List, Optional, Union import inspect from threading import Thread torch.set_grad_enabled(False) -from omegaconf import OmegaConf -from torch import autocast from contextlib import nullcontext from ldm.models.diffusion.ddim import DDIMSampler