Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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

Open
3 tasks done
shineway14 opened this issue Dec 19, 2023 · 0 comments
Assignees
Labels
kind/bug something isn't working

Comments

@shineway14
Copy link

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

@shineway14 shineway14 added the kind/bug something isn't working label Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants