Lednik7 / skoltech-Infrastructure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

skoltech-Infrastructure

Project Structure

├── artifacts
│   ├── images
│   └── weights
├── data
│   ├── digital_leaders
│   │   ├── images  - contains images in .png format
│   │   └── masks  - contains masks in .png format
│   └── external_data
├── .gitignore
├── LICENSE
├── Makefile
├── notebooks
│   ├── EDA.ipynb
│   ├── ensemble_test.ipynb - evaluating ensemble
│   ├── predict_test.ipynb - predicting on test set
│   ├── split_merge_test.ipynb  - splitting and merging check
│   └── torchgeo_baseline.ipynb  - main script for training
├── poetry.lock
├── .pre-commit-config.yaml
├── pyproject.toml
├── README.md
├── requirements.txt
└── src
    ├── __init__.py
    ├── modelling
    │   ├── __init__.py
    │   ├── base.py
    │   ├── ensemble.py
    │   ├── metrics.py
    │   ├── predict.py
    │   ├── production
    │   │   ├── __init__.py
    │   │   ├── deeplabMOCO.py
    │   │   ├── footPrint.py
    │   │   ├── FPNMOCO.py
    │   │   ├── unetMOCO.py
    │   │   └── unetPlusPlusMOCO.py
    │   └── train.py
    ├── preprocessing
    │   ├── __init__.py
    │   ├── reader.py
    │   └── tile_generating.py  - script to generate tiles from train data
    └── utils
        ├── __init__.py
        └── base.py

Installation

Required Python.

Data installation:

make install_data

Generate tiles for training:

make generate_tiles

Dependencies and environment:

make setup

Usage

torchgeo_baseline.ipynb - train single segmentation model.

Models

Download the models from the link and unpack the contents in artifacts/weights

Contact

If something go wrong please contact me: tg: @werserk

About

License:MIT License


Languages

Language:Jupyter Notebook 99.5%Language:Python 0.5%Language:Makefile 0.0%