low_quality have bug

#2
by vvtezhongb - opened

thanks for your work~There is a bug when I try to load the "1k" resolution :
d=load_dataset('texturedesign/td01_natural-ground-textures', 'PNG@1K')
and I get the following:
99 if self.config.name[-2:] == "1K":
--> 100 image = image.resize(size=(sz[0]//4, sz[1]//4), resample=PIL.Image.Resampling.LANCZOS)
101 elif self.config.name[-2:] == "2K":

TypeError: unsupported operand type(s) for //: 'tuple' and 'int'

Is this my operation fault or can you solve this? Thanks!

texture·design org

Fixed and tested! Thanks for reporting.

alexjc changed discussion status to closed

Sign up or log in to comment