easy-few-shot-learning
easy-few-shot-learning copied to clipboard
Adding more backbones
Hi @ebennequin, Thanks for this elegant code base, some questions(can be a feature request)
- Can we add new backbones like (ViT, densenet, Convnext etc...)?
- Building functionalities for model deployments?
Hi, thanks for the kind words.
- You can pass any backbone when building your
FewShotClassifier
, so you can use backbones like ViT, DenseNet, ConvNeXt from well-maintained libraries like timm. In this repo I added custom backbones that are hardly SOTA but are often used when benchmarking FSL. - This repo is mainly targeted to research and education, not for production, so features for model deployment are not on the roadmap. However, I'd love to discuss it if you think we can add some useful stuff!
@anish9 I think model deployment is pretty straightforward. easyfsl
is a very light library, so even if you don't want to convert models (e.g. to TorchServe or onxx) you can simply install the library & use SupportSetFolder for example.
Maybe adding a script to convert models would be a good idea though.