Repo for Segmenting Planet Dove sandy dune areas.
Some one time repo initialization work.
You can install miniconda if on Mac or Linux. On Windows install Anaconda.
Follow directions HERE
For Mac, perfer to install miniconda using brew.
brew doctor
brew update
brew upgrade
brew upgrade --cask --greedy
brew install --cask minicondaFollow directions HERE
On Windows, open an Andaconda Terminal, on Linux/Mac open a regular terminal.
Check if git is installed. It will return something e.g. /usr/bin/git if git is installed.
# Linux/Mac
which git
# Windows
where gitIf git is not installed, install it.
# Windows
conda install git
# Mac
brew install gitThis command will create a new folder beach_seg in your terminal's current directory. If you want it installed somewhere specific, move to that folder first (cd SOMEWHERE/ELSE)
git clone git@github.com:kyledorman/beach_seg.gitAfter cloning the repo, enter the folder
cd beach_segconda env create -f environment.ymlI am not sure if this is required or not. Depends on some package versions.
conda activate beach_seg
conda install -c conda-forge jupyter_contrib_nbextensions
jupyter nbextension enable --py widgetsnbextensionYou can inspect the results using an included jupyter notebook.
Launch jupyter notebook
jupyter lab --notebook-dir=notebooks --port=8894Run the notebook beach_seg.ipynb
conda activate beach_seg
./lint.shAfter changing the environment.yml file, run
conda activate beach_seg
conda env update --file environment.yml --prune
conda activate beach_seg