AssertionError: Task token <MORE_DETAILED_CAPTION> should be the only token in the text.

#1
by lrzjason - opened

Try to use the example code but got error with the following message:
...
processing_florence2.py", line 145, in _construct_prompts
assert _text == task_token, f"Task token {task_token} should be the only token in the text."
AssertionError: Task token should be the only token in the text.

Owner

Thanks. Corrected the example.

thwri changed discussion status to closed

Sign up or log in to comment