Skip to content

Latest commit

 

History

History
89 lines (70 loc) · 5.74 KB

README.md

File metadata and controls

89 lines (70 loc) · 5.74 KB
Environmental Data Science Book

thumbnail

Livestock detection using DeepForest

License Continuous integration badge review

Binder binder

rohub doi

thumbnail

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:

  1. Open your terminal

  2. Check your conda install with conda --version. If you don't have conda, install it by following these instructions (see here)

  3. Clone the repository

    git clone https://github.com/eds-book-gallery/95199651-9e81-4cae-a3a7-66398a9a5f62.git
  4. Move into the cloned repository

    cd 95199651-9e81-4cae-a3a7-66398a9a5f62
  5. Create and activate your environment from the .binder/environment.yml file

    conda env create -f .binder/environment.yml
    conda activate 95199651-9e81-4cae-a3a7-66398a9a5f62
  6. Launch the jupyter interface of your preference, notebook, jupyter notebook or lab jupyter 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

Credits

The How to run section was adapted from the Project Pythia Cookbook project.