Skip to content

Commit

Permalink
added README; running only notebooks in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
vineetbansal committed Jan 18, 2024
1 parent 9711348 commit 4ce58d7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,3 @@ jobs:
jupyter nbconvert --to script *.ipynb --output-dir .
for f in *.py; do python "$f"; done
working-directory: ./notebooks

- name: Preprocess Data
run: |
python scripts/preprocess.py
- name: Train Model
run: |
python scripts/train.py
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
DeepMap code for DL on historical Aerial Images
-----------------------------------------------

The `notebooks/` folder contains sample exploratory code to get familiar with libraries and APIs for GIS.
The `scripts/` folder contains the preprocessing and training code for the DeepMap model.

### Installation

`pip install .` should work, though due to latest `importlib.resources` not supporting directories,
you may need to install the package in editable mode (`pip install -e .`) to run scripts in the `scripts/` folder.

### Data

Sample data is included in the `deepmap.data` module. Larger data files are download on demand using the `deepmap.data.ondemand.get_file` function.

0 comments on commit 4ce58d7

Please sign in to comment.