Git Product home page Git Product logo

bio-net's Introduction

BiO-Net

Official implementation of "BiO-Net: Learning Recurrent Bi-directional Connections for Encoder-Decoder Architecture", MICCAI 2020

Paper: https://arxiv.org/abs/2007.00243

News (2021-06-26): Check out our latest work BiX-NAS that is to appear in MICCAI2021! BiX-Net Achieves on par performances to BiO-Net but with 34.9 times fewer parameters and 4.0 times fewer MACs!

BiO-Net

Dependencies

  • Python >= 3.6
  • PIL >= 7.0.0
  • matplotlib >= 3.3.1

Keras version

  • tensorflow-gpu >= 1.14.0
  • keras >= 2.1.5

Pytorch version

  • tqdm >= 4.54.1
  • imgaug >= 0.4.0
  • torch >= 1.5.0
  • torchvision >= 0.6.0

NOTE1: Both versions have been sucessfully tested on a GeForce RTX 2080 GPU with CUDA=10.1 and driver=435.21.
NOTE2: You don't need all dependencies to run on a sole backend.

Data

Please refer to the official website (or project repo) for license and terms of usage. We preprocessed the data for adaptating our data loaders. Please find the links below.

MoNuSeg

TNBC

Usage

Use --backend to switch between backends [keras, pytorch], default=keras.

Train

python3 main.py --epochs 300 --iter 3 --integrate --train_data PATH_TO_TRAIN_DATA_ROOT \
		  --valid_data PATH_TO_VALID_DATA_ROOT --exp 1 --backend YOUR_BACKEND

Evaluate

Save metrics and segmentations:

python3 main.py --evaluate_only --save_result --valid_data PATH_TO_VALID_DATA_ROOT --exp 1  --backend YOUR_BACKEND

Print metrics only:

python3 main.py --evaluate_only --valid_data PATH_TO_VALID_DATA_ROOT --exp 1  --backend YOUR_BACKEND

NOTE: --iter,--integrate,--multiplier need to be specidied on the above commands.

or

python3 main.py --evaluate_only --valid_data PATH_TO_VALID_DATA_ROOT --model_path PATH_TO_TRAINED_MODEL  --backend YOUR_BACKEND

Citation

If you find this repo useful in your work or research, please cite:

@inproceedings{xiang2020bio,
  title={BiO-Net: Learning Recurrent Bi-directional Connections for Encoder-Decoder Architecture},
  author={Xiang, Tiange and Zhang, Chaoyi and Liu, Dongnan and Song, Yang and Huang, Heng and Cai, Weidong},
  booktitle={International Conference on Medical Image Computing and Computer-Assisted Intervention},
  pages={74--84},
  year={2020},
  organization={Springer}
}

bio-net's People

Contributors

chrix01 avatar tiangexiang avatar w2q3q1 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.