Skip to content
/ CCF-BC Public

[TIP 2024] Click-pixel Cognition Fusion Network with Balanced Cut for Interactive Image Segmentation

License

Notifications You must be signed in to change notification settings

lab206/CCF-BC

Repository files navigation

Click-pixel Cognition Fusion Network with Balanced Cut for Interactive Image Segmentation


Jiacheng Lin · Zhiqiang Xiao · Xiaohui Wei · Puhong Duan · Xuan He · Renwei Dian · Zhiyong Li · Shutao Li

Paper

Environment

Training and evaluation environment: Python 3.9.7, PyTorch 1.13.1, Ubuntu 20.4, CUDA 11.7. Run the following command to install required packages.

pip3 install -r requirements.txt

Evaluation

Before evaluation, please download the datasets and models, and then configure the path in config.yaml.

Use the following code to evaluate the base model.

python scripts/evaluate_model.py NoBRS \
--gpu=0 \
--checkpoint=checkpoint.pth \
--eval-mode=cvpr \
--datasets=GrabCut,Berkeley,DAVIS,SBD

Training

Before training, please download the HRNet pretrained weights from RITM Github.

Use the following code to train a base model on SBD ataset:

CUDA_VISIBLE_DEVICES=0 \
python train.py models/iter_mask/hrnet18_sbd_itermask_3p.py \
--batch-size=28 \
--ngpus=1

Download

Datasets: RITM Github

License

The code is released under the MIT License. It is a short, permissive software license. Basically, you can do whatever you want as long as you include the original copyright and license notice in any copy of the software/source.

Citation

@article{lin2024click,
  author={Lin, Jiacheng and Xiao, Zhiqiang and Wei, Xiaohui and Duan, Puhong and He, Xuan and Dian, Renwei and Li, Zhiyong and Li, Shutao},
  journal={IEEE Transactions on Image Processing}, 
  title={Click-Pixel Cognition Fusion Network With Balanced Cut for Interactive Image Segmentation}, 
  year={2024},
  volume={33},
  pages={177-190},
  doi={10.1109/TIP.2023.3338003}
}

Acknowledgement

Our project is developed based on RITM. Thanks for their excellence works.

About

[TIP 2024] Click-pixel Cognition Fusion Network with Balanced Cut for Interactive Image Segmentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages