Livestock detection (DeepForest)
How to run¶
Running on Binder¶
The notebook is designed to be launched from Binder.
Click the Launch Binder button at the top level of the repository.
Running locally¶
You may also download the notebook from GitHub to run it locally:
Open your terminal
Check your conda install with
conda --version
. If you don’t have conda, install it by following these instructions (see here)Clone the repository
git clone https://github.com/eds-book-gallery/95199651-9e81-4cae-a3a7-66398a9a5f62.git
Move into the cloned repository
cd 95199651-9e81-4cae-a3a7-66398a9a5f62
Create and activate your environment from the
.binder/environment.yml
fileconda env create -f .binder/environment.yml conda activate 95199651-9e81-4cae-a3a7-66398a9a5f62
Launch the jupyter interface of your preference, notebook,
jupyter notebook
or labjupyter lab
Troubleshooting¶
Following the guidelines in DeepForest documentation, for Mac M1 and M2 users, you may need to install the geopandas
package via conda after the step 5. You can do this by running the following command:
conda install -c conda-forge geopandas
- Appel, C., & This EDS book notebook contributors. (2024). Livestock detection using DeepForest (Jupyter Notebook) published in the Environmental Data Science book. Zenodo. 10.5281/ZENODO.14279235