Skip to content

Conversation

ishahroz
Copy link

@ishahroz ishahroz commented Aug 22, 2025

This PR fixes this issue. Issue description is below:

When using yolox as the Hi-res model for loading outputs / annotations, it annotates with bbox dimensions but missing text for complex images, resulting in text being set to None. But later on printing or accessing the Image element (str method), it should be returning string instead of None.

@ishahroz ishahroz changed the title fix: Normalizes the image element correctly when "text" is coming as … fix: None text attribute when normalizing Picture to Image element Aug 22, 2025
@ishahroz ishahroz marked this pull request as ready for review August 22, 2025 15:56
@ishahroz
Copy link
Author

This PR should also fix this issue: langchain-ai/langchain#32615

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant