keras-team / keras-cv

Industry-strength Computer Vision workflows with Keras
Other
994 stars 325 forks source link

Common test routines for layers, backbones, tasks #2292

Open mattdangerw opened 7 months ago

mattdangerw commented 7 months ago

A few months ago, we landed a large refactoring of KerasNLP testing routines: https://github.com/keras-team/keras-nlp/pull/1269

Basically, we borrowed from core Keras' common layer testing routes here, and extended them to KerasNLP abstractions:

This has proved to be quite useful for maintenance of the library. It makes it much easier to plug coverage holes across all models in a quick PR. We should consider doing the same for CV!

divyashreepathihalli commented 7 months ago

WIP here - https://github.com/keras-team/keras-cv/compare/master...divyashreepathihalli:keras-cv:improve-tests-cv