GithubHelp home page GithubHelp logo

atatc / carts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hding2455/carts

0.0 0.0 0.0 20.32 MB

Official Released code for Challenge SegSTRONG-C: Segmenting Surgical Tools Robustly On Non-adversarial Generated Corruptions

Home Page: https://segstrongc.cs.jhu.edu/

License: BSD 2-Clause "Simplified" License

Shell 0.25% Python 99.62% Dockerfile 0.12%

carts's Introduction

SegSTRONG-C: Segmenting Surgical Tools Robustly On Non-adversarial Generated Corruptions

This repo hosts the code for implementing the baseline algorithms for SegSTRONG-C.

eye_candy

This challenge is originated from:

CaRTS: Causality-driven Robot Tool Segmentation from Vision and Kinematics Data,
Hao Ding, Jintan Zhang, Peter Kazanzides, Jie Ying Wu, Mathias Unberath Proc. MICCAI, 2022
arXiv preprint (arXiv 2203.09475)

Rethinking Causality-driven Robot Tool Segmentation with Temporal Constraints, Hao Ding, Jie Ying Wu, Zhaoshuo Li, Mathias Unberath Int J CARS 18, 1009โ€“1016 (2023) arXiv preprint (arXiv 2203.09475)

SegSTRONG-C: Segmenting Surgical Tools Robustly On Non-adversarial Generated Corruptions -- An EndoVis'24 Challenge, Hao Ding, Tuxun Lu, Yuqian Zhang, Ruixing Liang, Hongchao Shu, Lalithkumar Seenivasan, Yonghao Long, Qi Dou, Cong Gao, Mathias Unberath 2024 arXiv preprint (arXiv 2203.09475)

Installation

We provided docker for easy installation, the environment can be easily set up via:

cd docker
docker build ./ -t segstrongc:latest
docker run --rm -v "F:\SharedDatasets\SegSTRONGC_release:/workspace/data" -v "F:\Projects\PythonProjects\CaRTS\checkpoints:/checkpoints" --gpus="device=0" -it segstrongc:latest

Usage

We only used one GPU for training and inference so we haven't implement multi-gpu version.

To run training, find the right name for the config you want in the file:

python train.py --config CONFIG_FILENAME

for example:

python train.py --config UNet_SegSTRONGC

To run inference on validation set, give the name of the config and the path to the checkpoint file for networks to load:

python validate.py --config CONFIG_FILENAME --model_path CHECKPOINT_PATH --domain DOMAIN_NAME

for example:

python validate.py --config UNet_SegSTRONGC --model_path checkpoints/unet_segstrongc/model_39.pth --domain regular

The final test will be on test set(for example):

python validate.py --config UNet_SegSTRONGC_AutoAugment --model_path /checkpoints/unet_autoaugment.pth --domain bg_change

Dataset preparation:

Please refer to our (website) for registration and data downloading

Citations

Please consider citing our papers in your publications if this repo helps you.

@inproceedings{ding2022carts,
  title={CaRTS: Causality-Driven Robot Tool Segmentation from Vision and Kinematics Data},
  author={Ding, Hao and Zhang, Jintan and Kazanzides, Peter and Wu, Jie Ying and Unberath, Mathias},
  booktitle={International Conference on Medical Image Computing and Computer-Assisted Intervention},
  pages={387--398},
  year={2022},
  organization={Springer}
}

@article{Ding2022RethinkingCR,
  title={Rethinking causality-driven robot tool segmentation with temporal constraints},
  author={Hao Ding and Jie Ying Wu and Zhaoshuo Li and M. Unberath},
  journal={International Journal of Computer Assisted Radiology and Surgery},
  year={2022},
  pages={1009 - 1016},
}

@misc{ding2024segstrongcsegmentingsurgicaltools,
      title={SegSTRONG-C: Segmenting Surgical Tools Robustly On Non-adversarial Generated Corruptions -- An EndoVis'24 Challenge}, 
      author={Hao Ding and Tuxun Lu and Yuqian Zhang and Ruixing Liang and Hongchao Shu and Lalithkumar Seenivasan and Yonghao Long and Qi Dou and Cong Gao and Mathias Unberath},
      year={2024},
      eprint={2407.11906},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2407.11906}, 
}

License

For academic use, this project is licensed under the 2-clause BSD License - see the LICENSE file for details. For commercial use, please contact Hao Ding (email) and Mathias Unberath(email๏ผ‰

carts's People

Contributors

hding2455 avatar nicklutuxun avatar atatc avatar brucehacker66 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.