by Yueming Jin, Yang Yu, Cheng Chen, Zixu Zhao, Pheng-Ann Heng, Danail Stoyanov.
- pytorch 1.8.0
- opencv-python
- tqdm
- timm
- pi
- numpy
- sklearn
Switch folder $ cd ./seg18/
Use $ python train_swin.py
to start the training; parameter setting and training script refer to exp.sh
Switch folder $ cd ./pixcontrast_18/
Use $ sh tools/pixpro_swin_ver.sh
to start the training.
Switch folder $ cd ./seg18/
Use $ python train_CL_ft_mswin_sgd_minput.py
to start the training; parameter setting and training script refer to exp.sh
$ python test.py
to test; parameter setting and script can refer to exp.sh
seg18 and pixcontrast_18 are for EndoVis18; segcata and pixcontrast_cata are for CaDIS. Here, we take EndoVis18 as the example. The usage for CaDIS is similar.
@ARTICLE{9779714,
author={Jin, Yueming and Yu, Yang and Chen, Cheng and Zhao, Zixu and Heng, Pheng-Ann and Stoyanov, Danail},
journal={IEEE Transactions on Medical Imaging},
title={Exploring Intra- and Inter-Video Relation for Surgical Semantic Scene Segmentation},
year={2022},
volume={},
number={},
pages={1-1},
doi={10.1109/TMI.2022.3177077}
}
For further question about the code or paper, please contact 'ymjin5341@gmail.com'