-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from nasa/develop
Release 0.2
- Loading branch information
Showing
40 changed files
with
1,247 additions
and
319 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Build documentation and commit to gh-pages branch. | ||
|
||
name: Build and Push Documentation to gh-pages Branch | ||
|
||
on: | ||
push: | ||
branches: [ 'master'] | ||
|
||
jobs: | ||
build_and_push_docs: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
path: repo/ | ||
- name: Checkout gh-pages | ||
uses: actions/checkout@v2 | ||
with: | ||
path: docs/ | ||
ref: gh-pages | ||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
- name: Install pdoc3 | ||
run: | | ||
python3 -m pip install pdoc3 | ||
- name: Install DELTA | ||
run: | | ||
cd repo | ||
./scripts/setup.sh | ||
python3 -m pip install . | ||
- name: Build Documentation | ||
run: | | ||
./repo/scripts/docs.sh ./docs/ | ||
- name: Commit and Push | ||
run: | | ||
cd repo | ||
EMAIL=`git show -s --format='%ae' HEAD` | ||
NAME=`git show -s --format='%an' HEAD` | ||
cd .. | ||
cd docs/ | ||
git add . | ||
git config user.email "$EMAIL" | ||
git config user.name "$NAME" | ||
git commit -m "Automatic update for $GITHUB_SHA." | ||
git push origin gh-pages | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Copyright © 2020, United States Government, as represented by the | ||
# Administrator of the National Aeronautics and Space Administration. | ||
# All rights reserved. | ||
# | ||
# The DELTA (Deep Earth Learning, Tools, and Analysis) platform is | ||
# licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0. | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
""" | ||
Registers all config modules. | ||
""" | ||
|
||
import delta.imagery.imagery_config | ||
import delta.ml.ml_config | ||
|
||
_config_initialized = False | ||
def register_all(): | ||
global _config_initialized #pylint: disable=global-statement | ||
# needed to call twice when testing subcommands and when not | ||
if _config_initialized: | ||
return | ||
delta.imagery.imagery_config.register() | ||
delta.ml.ml_config.register() | ||
_config_initialized = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
layers: | ||
- Input: | ||
shape: in_shape | ||
- Conv2D: | ||
filters: 50 | ||
kernel_size: [5, 5] | ||
activation: relu | ||
padding: same | ||
- MaxPooling2D: | ||
pool_size: [2, 2] | ||
- Conv2D: | ||
filters: 50 | ||
kernel_size: [5, 5] | ||
activation: relu | ||
padding: same | ||
- MaxPooling2D: | ||
pool_size: [2, 2] | ||
- Conv2D: | ||
filters: 50 | ||
kernel_size: [5, 5] | ||
activation: relu | ||
padding: same | ||
- UpSampling2D: | ||
size: [2, 2] | ||
- Conv2D: | ||
filters: 50 | ||
kernel_size: [5, 5] | ||
activation: relu | ||
padding: same | ||
- UpSampling2D: | ||
size: [2, 2] | ||
- Conv2D: | ||
filters: num_bands | ||
kernel_size: [5, 5] | ||
activation: relu | ||
padding: same |
Oops, something went wrong.