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 image properties in df preprocessor #2512

Merged
merged 1 commit into from
Dec 6, 2022

Conversation

zhiqiangdon
Copy link
Contributor

Issue #, if available:
_image_bytearray_names attribute doesn't exist in df preprocessor. So, hasattr(self, "_image_bytearray_names") is always False. hasattr(self, "_image_path_names") is for backward compatibility since we used _image_path_names in the initial AutoMM versions. The image_bytearray is new and doesn't have backward compatible issues.

Description of changes:
Removed the hasattr(self, "_image_bytearray_names") checks.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@zhiqiangdon zhiqiangdon changed the title Fix AutoMM df preprocessor properties Fix image properties in df preprocessor Dec 5, 2022
@github-actions
Copy link

github-actions bot commented Dec 5, 2022

Job PR-2512-163582e is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-2512/163582e/index.html

Copy link
Contributor

@suzhoum suzhoum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing it!

Copy link
Contributor

@bryanyzhu bryanyzhu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@zhiqiangdon zhiqiangdon merged commit 4e81b61 into autogluon:master Dec 6, 2022
@zhiqiangdon zhiqiangdon deleted the mm-fix branch December 6, 2022 05:44
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

3 participants