[Bug] Invalid 'input_ids' in position:0 to 75.Expect'[49428,49429,49430,49431,49432,49433,49434,49435,49436,49437] for embedding 'P_obj' but found '[49428,49407]' #2096
python gradio_PowerPaint.py
pipline_PowerPaint.py line 613
Reproduces the problem - command or script
prompts:
nsfw,(low quality,normal quality,worst quality,jpeg artifacts), cropped, monochrome, lowres, low saturation, ((watermark)), (white letters), non-medieval architecture, bright color palette, unrealistic fantasy elements, cartoonish drawings, ordinary castle, small size, lacking details, modern building, lack of atmosphere, generic fantasy scenes.
Reproduces the problem - error message
[Bug] Invalid 'input_ids' in position:0 to 75.Expect'[49428,49429,49430,49431,49432,49433,49434,49435,49436,49437] for embedding 'P_obj' but found '[49428,49407]'
Prerequisite
Task
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
Branch
main branch https://github.com/open-mmlab/mmagic
Environment
yes
Reproduces the problem - code sample
python gradio_PowerPaint.py pipline_PowerPaint.py line 613
Reproduces the problem - command or script
prompts: nsfw,(low quality,normal quality,worst quality,jpeg artifacts), cropped, monochrome, lowres, low saturation, ((watermark)), (white letters), non-medieval architecture, bright color palette, unrealistic fantasy elements, cartoonish drawings, ordinary castle, small size, lacking details, modern building, lack of atmosphere, generic fantasy scenes.
Reproduces the problem - error message
[Bug] Invalid 'input_ids' in position:0 to 75.Expect'[49428,49429,49430,49431,49432,49433,49434,49435,49436,49437] for embedding 'P_obj' but found '[49428,49407]'
Additional information
No response