Giter Club home page Giter Club logo

hot-omdena-ai-challenge's Introduction

Mapping Tool for HOT

The directory data needs to be downloaded from Google Drive for testing.

Download data

data Directory Structure

.
├───images_v2
│   ├───1
│   ├───2
│   ├───3
│   ├───4
│   └───5
├───inputs_v2
│   ├───1
│   ├───2
│   ├───3
│   ├───4
│   └───5
└───masks_v2
    ├───1
    ├───2
    ├───3
    ├───4
    └───5

hotlib Installation

  1. Set up a Conda virtual environment for installing hotlib using environment.yml:

    conda env create -f environment.yml
  2. Activate the virtual environment.

    conda activate hot
  3. Install hotlib from PyPI:

    pip install hotlib

Making Edits to Preprocessing/Inference

Edit in hotlib. In order to test your edit, take the following steps:

  1. Install hotlib package in editable mode:

    python -m pip install -e hotlib
  2. Test it by running:

    pip list | grep hotlib

    You'll find a path after the version of hotlib:

    hotlib                       1.0.33    C:\Users\Tasin\Documents\repos\hot\hotlib
  3. Make an edit to hotlib.

  4. Try running task_1_preprocessing/preprocess.py now. The updated code will be executed.

Custom Virtual Environment

conda create -n hot python=3.8
conda activate hot
conda install -c conda-forge geopandas
pip install pyogrio rasterio tensorflow
pip install -e hotlib

Sort Imports

isort . --profile black -s env

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.