text2image icon indicating copy to clipboard operation
text2image copied to clipboard

An error occurred while using complex text,my prompt is a racoon detective using a microscope while riding in a train

Open ctxya1207 opened this issue 1 year ago • 0 comments

Traceback (most recent call last): File "E:\Project\pythonProject\SSA_GAN\main.py", line 549, in gen_sample(text_encoder, netG, device, wordtoix, captions) # generate images with description from user File "E:\Project\pythonProject\SSA_GAN\main.py", line 189, in gen_sample caps[cl][cw] = wordtoix[word.lower()] KeyError: 'detective'

ctxya1207 avatar Feb 29 '24 07:02 ctxya1207