Skip to content

xiaojinmao-code/DAG-V-Net

Repository files navigation

DAG V-Net

The code will be constantly updated(!!!2021-3-23!!!)

img_net Fig. 1. Structure of DAG V-Net.

Requirementss

Some important required packages include:

  • tensorflow version >=1.12.0.
  • opencv-python >=3.3.0
  • pandas >=0.20.1
  • python >= 3.6
  • Some basic python packages such as SimpleITK.

Usages

Data

First, you can download the dataset at HC-18.

  • Download the HC-18 training set that consists of 999 2D ultrasound images and their annotations.
  • Download the HC-18 test set that consists of 335 2D ultrasound images.

img_src Fig. 2. The official data sample.

Preprocessing

  • The annotation of this dataset are contours. We need to convert them into binary masks for segmentation.
python get_ground_truth.py
  • data augmentation.
python augtest.py

Train

To train DAG-Net in HC-18.

python main.py

Test

To evaluate the trained model in HC-18.

python validation.py

Result

uncertainty Fig. 2. Fetal head segmentation.

Acknowledgement

Part of the code is revised from Attention-Gate-Networks.

Contact

About

The code will be made public soon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages