Awesome
Uncertainty-aware Fine-tuning of Segmentation Foundation Models (SUM)
Official implementation of Uncertainty-aware Fine-tuning of Segmentation Foundation Models (NeurIPS 2024).
Kangning Liu<sup>1,2</sup>, Brian Price<sup>2</sup>, Jason Kuen<sup>2</sup>, Yifei Fan<sup>2</sup>, Zijun Wei<sup>2</sup>, Luis Figueroa<sup>2</sup>, Krzysztof J. Geras<sup>1</sup>, Carlos Fernandez-Granda<sup>1</sup>
<sup>1</sup> New York University
<sup>2</sup> Adobe
Table of Contents
Status Update
Current Progress
- Provided the model building code build_sam.py
- Provided the key components of uncertainty-aware fine-tuning:
- Uncertainty-aware loss losses.py
- Uncertainty-aware prompt sampling interactive_sampling.py
Next Steps
- Provide demo Jupyter notebooks
- Add support for the evaluation dataloader
- Release model weights trained on the public dataset
- Provide the full training code
Known Issues
- Some scripts may require additional dependencies not listed in the prerequisites.
- Documentation is still in progress and may lack detailed instructions for some scripts.
Prerequisites
The code requires python>=3.8
, as well as pytorch>=1.7
and torchvision>=0.8
. Please follow the instructions here to install both PyTorch and TorchVision dependencies. Installing both PyTorch and TorchVision with CUDA support is strongly recommended.
Dataset
TODO
Notebook
TODO
Contact
For any questions or issues, please contact:
- Kangning Liu - kangning.liu@nyu.edu