-
Notifications
You must be signed in to change notification settings - Fork 709
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Noninteractive run of notebooks and flake8 checks (#107)
* start of automatic and update occ. sens. * current progress * current progress * current progress * current progress * vae * models ensemble * layer_wise_learning_rate * gan * 3d_classification * add 3d_segmentation as well as flake * transform speed * autopep8 * update runner * flake8 support added * max_num_epochs->max_epochs * check that max_epochs exists unless not expected * uncomment executing notebook * check pip install * ignore temp files * no noqa for indented import monai * dont check for indented import monai * flake8 changes * magic pip installs * autofixes * use ! instead of % for pip install * so far * current progress. add black, isort, autoflake * current progress * update class lung lesion notebook * class lung lesion * current progress * current progress * finished * finished * remove pip install of pinned pytorch version * = list() to = [] * [DLMED] fix dyunet notebook issue Signed-off-by: Nic Ma <nma@nvidia.com> * correct faulty import * pep8 for dynunet * all working * add missing quotations * remove personal file path * remove NiftiDataset * dont remove EOL whitespace from comments * 2d_classification * re-add spaces * spaces * last spaces * final changes * notification at end * notification on exit * add github action * data subfolder * make folder if necessary * add flake8 to requirements * change test name Co-authored-by: Nic Ma <nma@nvidia.com>
- Loading branch information
Showing
36 changed files
with
4,673 additions
and
2,373 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,39 @@ | ||
name: build | ||
|
||
on: | ||
# quick tests for every pull request | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
jobs: | ||
# caching of these jobs: | ||
# - docker-20-03-py3-pip- (shared) | ||
# - ubuntu py37 pip- | ||
# - os-latest-pip- (shared) | ||
pep8: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
- name: cache weekly timestamp | ||
id: pip-cache | ||
run: | | ||
echo "::set-output name=datew::$(date '+%Y-%V')" | ||
- name: cache for pip | ||
uses: actions/cache@v2 | ||
id: cache | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ steps.pip-cache.outputs.datew }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip wheel | ||
python -m pip install -r requirements.txt | ||
- name: PEP8 check | ||
run: | | ||
$(pwd)/runner.sh --no-run |
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
Oops, something went wrong.