Skip to content

Commit

Permalink
add the two fixes that @SB2020-eye reported
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Jan 11, 2023
1 parent 74296d8 commit 19769e1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions muse_maskgit_pytorch/t5.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import logging
import torch
import transformers
from transformers import T5Tokenizer, T5EncoderModel, T5Config
Expand Down
3 changes: 2 additions & 1 deletion muse_maskgit_pytorch/trainers.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

from ema_pytorch import EMA

from PIL import Image
from PIL import Image, ImageFile
ImageFile.LOAD_TRUNCATED_IMAGES = True

# helper functions

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name = 'muse-maskgit-pytorch',
packages = find_packages(exclude=[]),
version = '0.0.16',
version = '0.0.17',
license='MIT',
description = 'MUSE - Text-to-Image Generation via Masked Generative Transformers, in Pytorch',
author = 'Phil Wang',
Expand Down

0 comments on commit 19769e1

Please sign in to comment.