The directory data
needs to be downloaded from Google Drive for testing.
.
├───images_v2
│ ├───1
│ ├───2
│ ├───3
│ ├───4
│ └───5
├───inputs_v2
│ ├───1
│ ├───2
│ ├───3
│ ├───4
│ └───5
└───masks_v2
├───1
├───2
├───3
├───4
└───5
-
Set up a Conda virtual environment for installing
hotlib
usingenvironment.yml
:conda env create -f environment.yml
-
Activate the virtual environment.
conda activate hot
-
Install
hotlib
from PyPI:pip install hotlib
Edit in hotlib
. In order to test your edit, take the following steps:
-
Install
hotlib
package in editable mode:python -m pip install -e hotlib
-
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
-
Make an edit to
hotlib
. -
Try running
task_1_preprocessing/preprocess.py
now. The updated code will be executed.
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
isort . --profile black -s env