Skip to main content

Utilities for AI - Assisted Mapping fAIr

Project description

hot_fair_utilities ( Utilities for AI Assisted Mapping fAIr )

Initially lib was developed during Open AI Challenge with Omdeena. Learn more about challenge from here

hot_fair_utilities Installation

hot_fair_utilities is collection of utilities which contains core logic for model data prepration , training and postprocessing . It can support multiple models , Currently ramp is supported.

  1. Install tensorflow 2.9.2 from [here] (https://www.tensorflow.org/install/pip) According to your os

Setup Ramp :

  1. Clone ramp working dir

    git clone https://github.com/kshitijrajsharma/ramp-code-fAIr.git ramp-code
    
  2. Install native bindings

    • Install Numpy

      pip install numpy==1.23.5
      
    • Install gdal .

      for eg : on Ubuntu

      sudo add-apt-repository ppa:ubuntugis/ppa && sudo apt-get update
      sudo apt-get install gdal-bin
      sudo apt-get install libgdal-dev
      export CPLUS_INCLUDE_PATH=/usr/include/gdal
      export C_INCLUDE_PATH=/usr/include/gdal
      pip install --global-option=build_ext --global-option="-I/usr/include/gdal" GDAL==`gdal-config --version`        
      

      on conda :

      conda install -c conda-forge gdal
      
    • Install rasterio

      for eg: on ubuntu :

      sudo apt-get install -y python3-rasterio
      

      on conda :

      conda install -c conda-forge rasterio
      
  3. Install ramp requirements

    Install necessary requirements for ramp cd colab && make install && cd ../..

  4. Install hot_fair_utilities

     ```
     pip install -e .
     ```
    

Conda Virtual Environment

Create from env fle

```
conda env create -f environment.yml
```

Create your own

```
conda create -n fAIr python=3.8
conda activate fAIr
conda install -c conda-forge gdal
conda install -c conda-forge geopandas
pip install pyogrio rasterio tensorflow
pip install -e hot_fair_utilities
```

Test Installation and workflow

You can run package_test.ipynb to your pc to test the installation and workflow with sample data provided

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hot-fair-utilities-1.0.38.tar.gz (55.4 kB view details)

Uploaded Source

File details

Details for the file hot-fair-utilities-1.0.38.tar.gz.

File metadata

  • Download URL: hot-fair-utilities-1.0.38.tar.gz
  • Upload date:
  • Size: 55.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for hot-fair-utilities-1.0.38.tar.gz
Algorithm Hash digest
SHA256 890fa68ece99fa4fb23bfb0d80adafd7d2ba6317304ac919904c652a77eae579
MD5 861f60b98804f2ba20f2777fd0690dca
BLAKE2b-256 3d755f52e879851f293154687ad5121ebee8903c7be266dbd792fb8b712545e2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page