Skip to content

Enhanced image loading reliability with error handling#39

Open
mandlinsarah wants to merge 1 commit into
ShareGPT4Omni:masterfrom
mandlinsarah:update-fast_captioner_lmdeploy-08-31-2024
Open

Enhanced image loading reliability with error handling#39
mandlinsarah wants to merge 1 commit into
ShareGPT4Omni:masterfrom
mandlinsarah:update-fast_captioner_lmdeploy-08-31-2024

Conversation

@mandlinsarah

Copy link
Copy Markdown

Added try-except blocks to the image loading and conversion process in ImageGridDataset.__getitem__ to handle potential errors and prevent crashes. This enhancement improves the robustness of the code without impacting its core functionality.

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