aelnouby / Text-to-Image-Synthesis

Pytorch implementation of Generative Adversarial Text-to-Image Synthesis paper
GNU General Public License v3.0
405 stars 89 forks source link

TypeError: a bytes-like object is required, not 'str' in "Text2ImageDataset.py" #38

Open DHANOLA opened 1 year ago

DHANOLA commented 1 year ago

I am getting the above error for below line in above file

image

the error:

image

what should I do for special value and also I am not understanding what does it replacing using special as it is unicode?