Clone repository from git:
git clone [email protected]:JakobDomislovic/rch-seg.git
If you want to make changes I suggest to create your own branch. If you want to merge please create pull request and add me as reviewer.
Move to cloned repository:
cd rch-seg
Build docker with:
./docker_build.sh
Next step is to run docker image. When running docker image the cloned repository is mapped to docker container so you can change code locally and it will translate to docker container.
./docker_run.sh
First step should be to put data into ./data/
direcotry. This will be mounted to docker container and wont be pushed to github.
Before neural network training, you should set up config config/train_config.yaml
in which you can choose which data to train, view (both, view A or view b) will you use wandb (weights & biases), images per patients (600 if view==both and 300 if view=view A or view B), loss function and many more. For any question please contact me on [email protected].
Training is started with python3 train.py
.
- Add support to organ merging.
- Add support to resize images to 96x96.
- Add albumentations support.