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 bugs #3

Merged
merged 1 commit into from
Jan 12, 2023
Merged

Fix bugs #3

merged 1 commit into from
Jan 12, 2023

Conversation

betogaona7
Copy link
Contributor

When specifying the list item types in the function params like list[Face] or list[np.ndarray] will throw the following error TypeError: 'type' object is not subscriptable - to fix it, we just need to declare that its type is a list.

The previous commit #2 converts the face_image and mask_image to a shape of [h, w, 4], but the original entire_image and entire_mask_image keep the shape of [h,w,3] causing a broadcasting error. To fix it, I just extended the number of channels as in #2

@ototadana
Copy link
Owner

@betogaona7 Thank you ❤️

@ototadana ototadana merged commit 92aa0a7 into ototadana:main Jan 12, 2023
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.

2 participants