-
Notifications
You must be signed in to change notification settings - Fork 330
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
Add BASNet Segmentation Model (#2006) #2271
Add BASNet Segmentation Model (#2006) #2271
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome!! Thank you for this contribution.
- Lets increase the test coverage
- The linter is not happy.
- And there is one failing test in keras 3 -
FAILED keras_cv/models/segmentation/basnet/basnet_test.py::BASNetTest::test_basnet_construction - AttributeError: module 'keras.backend' has no attribute 'int_shape'
- Can we add a colab demo and a colab training script for this model?
@divyashreepathihalli Thanks! I'm delighted that you find it useful. Recent commit:
Now, before merging with the master branch, all tests have passed successfully. Currently, one test Could you please clarify if you are going to upload the model to Kaggle and share the Kaggle handle link, or how this will work? |
Awesome!! will review and merge soon! Thank you!!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will need to upload the preset weights to Kaggle. Lets disable to preset tests for now.
@divyashreepathihalli Preset test disabled for now. |
5796b76
into
keras-team:master
Thank you for the awesome contribution. The PR is merged. We will upload the weights to Kaggle and add the presets |
@hamidriasat the training is resulting in this error
|
* Move keras-cv markdown files to toplevel (#2291) Keras, KerasNLP and KerasTuner all store things liek the CONTRIBUTING.md in the toplevel of the repo. We should do the same here. * Add `version()` API to unify with Keras and KerasNLP (#2199) * Unify `version` API with keras and keras_nlp * Formatting * Update to keep `version` parity with KerasNLP, support nightly version string * Update version_utils.py * Update version_utils.py * Update random_crop_and_zoom.py (#2294) * Update random_crop_and_zoom.py * Update description * rename file * bug fix (#2303) * Add BASNet Segmentation Model (#2006) (#2271) * BASNet model initial code structure * adding test and initial preset details * adding comments * cleaning and formatting code * keras 3 support added * disabling preset test for BASNet * Fix image.shape type (#2305) Fixed image.shape issue for tensorflow backend * Create workflow for auto assignment of issues and for stale issues (#2313) * Create auto-assignment.yaml * Create auto-assignment.js * Create stale-issue-pr.yaml * Rename auto-assignment.yaml to auto-assignment.yml * Rename stale-issue-pr.yaml to stale-issue-pr.yml * Fix format and Update Vectorized Base (#2323) * Fix CI Test for Basnet OOM and PyCoCo Test Failure for JAX (#2322) * Reduce memory consumption for BasNet tests (#2325) --------- Co-authored-by: Matt Watson <[email protected]> Co-authored-by: Gabriel Rasskin <[email protected]> Co-authored-by: Sachin Prasad <[email protected]> Co-authored-by: Haifeng Jin <[email protected]> Co-authored-by: Hamid Ali <[email protected]> Co-authored-by: Tirth Patel <[email protected]>
* BASNet model initial code structure * adding test and initial preset details * adding comments * cleaning and formatting code * keras 3 support added * disabling preset test for BASNet
What does this PR do?
Adding BASNet model.
Overview:
This pull request addresses the assigned task (#2006) to integrate the BASNet segmentation model into KerasCV. The additions include the implementation of the BASNet model architecture and the inclusion of relevant test cases.
Weights and Future Plan:
I've included the BASNet model and its tests in this submission. Once they're reviewed and merged, I'll follow up with another PR to add the weights.
Fixes #2006
Before submitting
Pull Request section?
to it if that's the case. BASNet model
Who can review?
@divyashreepathihalli @tirthasheshpatel @martin-gorner @jbischof