:smile: This project is the pytorch implemention of [paper];
:laughing: Our experimental platform is configured with One RTX3090 (cuda>=11.0);
:blush: Currently, this code is avaliable for public dataset CAMUS and EchoNet;
:smiley: For codes and accessment that related to dataset CardiacUDA;
:eyes: The code is now available at: ``` ..\datasets\cardiac_uda.py
  :heart_eyes: For codes and accessment that related to dataset ***CardiacUDA***
      **:eyes:** Please follw the link to access our dataset:
## :computer: Installation
1. You need to build the relevant environment first, please refer to : [**requirements.yaml**](requirements.yaml)
2. Install Environment:
conda env create -f requirements.yaml
```
This project provides the use case of echocardiogram video segmentation task;
The hyper parameters setting of the dataset can be found in the train.py, where you could do the parameters modification;
For different tasks, the composition of data sets have significant different, so there is no repetition in this file;
:speech_balloon: The detail of CAMUS, please refer to: https://www.creatis.insa-lyon.fr/Challenge/camus/index.html/.
Download & Unzip the dataset.
The CAMUS dataset is composed as: /testing & /training.
The source code of loading the CAMUS dataset exist in path :
..\datasets\camus.py
and modify the dataset path in
..\train_camus_echo.py
New Version : We have updated the infos.npy in our new released code
:speech_balloon: The detail of EchoNet, please refer to: https://echonet.github.io/dynamic/.
Download & Unzip the dataset.
The source code of loading the Echonet dataset exist in path :
..\datasets\echo.py
and modify the dataset path in
..\train_camus_echo.py
..\datasets\cardiac_uda.py
and modify the infos and dataset path in
..\train_cardiac_uda.py
# The layer of the infos dict should be :
# dict{
# center_name: {
# file: {
# views_images: {image_path},
# views_labels: {label_path},}}}
In this framework, after the parameters are configured in the file train_cardiac_uda.py and train_camus_echo.py, you only need to use the command:
python train_cardiac_uda.py
And
python train_camus_echo.py
You are also able to start distributed training.
#