mirror of
https://github.com/wassname/denoising-diffusion-pytorch.git
synced 2026-10-29 13:00:08 +08:00
tqdm auto instead
This commit is contained in:
1 parent
a536e5bee9
commit
d4420248f1
2 files changed
+2
-7
No files matched your search
@@ -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