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

Fix pydantic ValidationError while creating dataset via the UI. #140

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

RyanJDick
Copy link
Collaborator

Set default value for ImageCaptionExample.mask_path.

This fixes the following error:

pydantic_core._pydantic_core.ValidationError: 1 validation error for ImageCaptionExample
mask_path
  Field required [type=missing, input_value={'image_path': 'D:\\AI\\1...530.jpg', 'caption': ''}, input_type=dict]

@RyanJDick RyanJDick marked this pull request as ready for review June 5, 2024 19:09
@RyanJDick RyanJDick merged commit 734a442 into main Jun 5, 2024
1 check passed
@RyanJDick RyanJDick deleted the fix-image-caption-example-bug branch June 5, 2024 19:13
@RyanJDick RyanJDick mentioned this pull request Jun 5, 2024
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