Keras implementations for CV attention models
Top 54.3% on sourcepulse
This repository provides a comprehensive collection of Keras implementations for various computer vision attention models, including architectures like ConvNeXt, Swin Transformers, and EfficientNet variants. It targets researchers and practitioners needing a unified library for experimenting with state-of-the-art vision models for tasks such as image classification, object detection, and segmentation. The library offers pre-trained weights and facilitates easy model building, training, and conversion.
How It Works
The library leverages Keras (with support for TensorFlow and PyTorch backends) to implement a wide array of modern vision architectures. It focuses on providing modular components and pre-built models, allowing users to quickly integrate and fine-tune these architectures. The project emphasizes ease of use with features like automatic weight loading, model surgery for modifications, and integrated training scripts for common benchmarks like ImageNet and COCO.
Quick Start & Requirements
pip install -U kecam
or pip install -U keras-cv-attention-models
export KECAM_BACKEND='torch'
pip install tf-keras~=$(pip show tensorflow | awk -F ': ' '/Version/{print $2}')
and export TF_USE_LEGACY_KERAS=1
or import kecam
before TensorFlow.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
3 months ago
1 day