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

Highly accurate boundaries segmentation using BASNet to keras 3.0 #2038

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

laxmareddyp
Copy link
Contributor

This PR changes the Highly accurate boundaries segmentation using BASNet to keras 3.0( and works with keras-hub BASNet model code).

Please review the attached gist.

@@ -43,7 +43,7 @@
from glob import glob
import matplotlib.pyplot as plt

import keras_cv
import keras_hub
import tensorflow as tf
Copy link
Contributor

Choose a reason for hiding this comment

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

if tf import needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We use tf.image.ssim and need the tf import for that. We actually even mention that in line 37. Thanks.

Copy link
Contributor

@divyashreepathihalli divyashreepathihalli left a comment

Choose a reason for hiding this comment

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

Lets remove tf import. Other than that LGTM!

@hertschuh hertschuh merged commit 6681f9e into keras-team:master Jan 28, 2025
4 checks passed
@laxmareddyp laxmareddyp deleted the laxma_basnet_tutorial_port branch January 29, 2025 02:50
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.

4 participants