This repository has been archived by the owner on Jun 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
UNet
kamil-kaczmarek edited this page Feb 1, 2018
·
6 revisions
First solution uses U-Net as a model. The pipeline is defined in the pipelines.py:L121
(training) and pipelines.py:L180
(inference).
It is end-to-end solution, which means that it takes raw input data and returns Kaggle submit. First solution consist of following steps:
Preparations: perform train-validation split
Pipeline steps:
- metadata preprocessing (for training purposes)
- preparing data-loader (PyTorch)
-
unet_network -> define and train U-Net. Network can be parametrized in the:
neptune.yaml:L43
- mask resize -> resize model's predictions to original size
- thresholder -> binarize masks
prepare Kaggle submit based on pipeline output.
Run command:
neptune login
neptune send main.py --worker gcp-gpu-medium --config neptune.yaml --environment pytorch-0.2.0-gpu-py3 -- train_evaluate_predict_pipeline --pipeline_name unet
- Solution 1: U-Net
- Solution 2: Multi-output U-Net
- Solution 3: Improved Multi-output U-Net
- Solution 4: U-Net with weighted loss and morphological postprocessing
- Solution 5: U-Net specialists, faster processing, weighted loss function and improved validation