mirror of
https://github.com/wassname/denoising-diffusion-pytorch.git
synced 2026-09-09 11:21:11 +08:00
tqdm auto instead
This commit is contained in:
@@ -18,14 +18,9 @@ from PIL import Image
|
||||
from einops import rearrange, reduce
|
||||
from einops.layers.torch import Rearrange
|
||||
|
||||
from tqdm.auto import tqdm
|
||||
from ema_pytorch import EMA
|
||||
|
||||
import sys
|
||||
if 'ipykernel' in sys.modules:
|
||||
from tqdm.notebook import tqdm
|
||||
else:
|
||||
from tqdm import tqdm
|
||||
|
||||
# helpers functions
|
||||
|
||||
def exists(x):
|
||||
|
||||
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
|
||||
setup(
|
||||
name = 'denoising-diffusion-pytorch',
|
||||
packages = find_packages(),
|
||||
version = '0.23.3',
|
||||
version = '0.23.4',
|
||||
license='MIT',
|
||||
description = 'Denoising Diffusion Probabilistic Models - Pytorch',
|
||||
author = 'Phil Wang',
|
||||
|
||||
Reference in New Issue
Block a user