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

Comment out CopyPaste operation to prevent KeyError due to missing 'ext_data' #12730

Closed
wants to merge 5 commits into from

Conversation

mattheliu
Copy link
Contributor

issue:
7c7c5dbcbe41f77b49919a39e78efdc

fix: Comment out CopyPaste operation to prevent KeyError due to missing 'ext_data'

In the training configuration, the CopyPaste data augmentation operation was causing a KeyError because the 'ext_data' field was not provided in the dataset. This commit comments out the CopyPaste operation in the training and evaluation transforms to prevent this error.

  • Comment out CopyPaste operation from Train transforms.
  • Comment out CopyPaste operation from Eval transforms.

This fix will prevent the training process from crashing due to missing 'ext_data' and ensures smoother execution of the training pipeline.

Remove CopyPaste operation to prevent KeyError due to missing 'ext_data'
Remove CopyPaste operation to prevent KeyError due to missing 'ext_data'
@mattheliu mattheliu marked this pull request as ready for review June 12, 2024 08:36
@mattheliu mattheliu closed this by deleting the head repository Jun 16, 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.

None yet

2 participants