Skip to content

About

No description, website, or topics provided.

Resources

Stars

20 stars

Watchers

1 watching

Forks

Repository files navigation

Tracking Everything in Robotic-Assisted Surgery

Bohan Zhan, Wang Zhao, Yi Fang, Bo Du, Francisco Vasconcelos, Danail Stoyanov, Daniel S. Elson, Baoru Huang*

|| Paper || Project ||

Logo

Installation

The code is tested with python=3.8 and torch=1.10.0+cu111

git clone --recurse-submodules https://github.com/zhanbh1019/SurgicalMotion.git
cd SurgicalMotion/
conda create -n surgicalmotion python=3.8
conda activate surgicalmotion
pip install torch==1.10.0+cu111 torchvision==0.11.0+cu111 torchaudio==0.10.0 -f https://download.pytorch.org/whl/torch_stable.html
pip install matplotlib tensorboard scipy opencv-python tqdm tensorboardX configargparse ipdb kornia imageio[ffmpeg]

Dataset

We provide our data, including image, mask and annotation. The data structure is as follows:

├──data
    ├──sequence_name/
        ├──color/
            ├──00000.jpg
            ├──00001.jpg
            .....
        ├──mask/ 
            ├──00000.png
            ├──00001.png
            .....
├──Anotation
    ├──sequence_name.pkl

Training

  1. Please refer to the preprocessing instructions for preparing input data for training SurgicalMotion.
  2. With processed input data, run the following command to start training:
    python train.py --config configs/default.txt --data_dir {sequence_directory}
    
    You can view visualizations on tensorboard by running tensorboard --logdir logs/.

Evaluation

python evaluation.py --config configs/default.txt --data_dir {sequence_directory}

Acknowledgements

Our work based on OmniMotion. We appreciate the authors of relevant repository and paper.

Citation

@article{zhan2024tracking,
  title={Tracking Everything in Robotic-Assisted Surgery},
  author={Zhan, Bohan and Zhao, Wang and Fang, Yi and Du, Bo and Vasconcelos, Francisco and Stoyanov, Danail and Elson, Daniel S and Huang, Baoru},
  journal={arXiv preprint arXiv:2409.19821},
  year={2024}
}

About

No description, website, or topics provided.

Resources

Stars

20 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages