Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
f5ccf2a
Adding rotation transform. (#126)
madil90 Mar 5, 2020
f39e8c1
108-resize (#125)
wyli Mar 5, 2020
28ad305
113-gaussian-noise (#139)
wyli Mar 5, 2020
7f29477
133 dataset and example with dict transforms (#134)
wyli Mar 5, 2020
445a568
107-zoom (#138)
madil90 Mar 5, 2020
db05942
Fix gpu zoom errors. (#149)
madil90 Mar 6, 2020
2bda586
58-implement-transform-adaptor-2: Re-adding work via new branch as th…
atbenmurray Mar 6, 2020
b850167
update doc api deps (#158)
wyli Mar 8, 2020
03bebf5
152-random-zoom (#153)
madil90 Mar 9, 2020
1e230ed
Adding RandomFlip. (#154)
madil90 Mar 9, 2020
7304182
112 combining spatial transforms (#131)
wyli Mar 9, 2020
39b2cb2
144 loadnifti transform common dataset (#145)
Nic-Ma Mar 9, 2020
35da65c
spacing and orientation; revise transforms cropping and zooming (#162)
wyli Mar 10, 2020
5c49f8f
156 event handlers support arbitrary format (#159)
Nic-Ma Mar 10, 2020
d166f6a
152-random-rotate (#155)
madil90 Mar 10, 2020
5b1f258
add dictionary-based wrapper random spatial transforms (#166)
wyli Mar 11, 2020
3a8f99c
160 develop TensorBoard event handler (#161)
Nic-Ma Mar 12, 2020
e40917f
Adding dict-based and random spatial transforms. (#163)
madil90 Mar 12, 2020
204e42d
two stages ci (#172)
wyli Mar 12, 2020
895e0f2
165 update check all examples (#171)
Nic-Ma Mar 13, 2020
c40f739
179 add DeleteKeys transform (#180)
Nic-Ma Mar 16, 2020
216298c
176 revise docs (#177)
wyli Mar 16, 2020
c2b12d3
[DLMED] fix typos in documentations (#185)
Nic-Ma Mar 18, 2020
3568c2b
181 use MONAI in pytorch medical segmentation program (#182)
Nic-Ma Mar 19, 2020
b86b63a
added setuptools support
mhubii Mar 19, 2020
3781679
updated README
mhubii Mar 19, 2020
2b9ab58
removed relative paths
mhubii Mar 19, 2020
4762c6f
changed form
mhubii Mar 19, 2020
40a06b0
fixes pull request config (#194)
wyli Mar 19, 2020
e7bb1c1
Merge branch 'master' into master
wyli Mar 19, 2020
1e55e23
exchanged raw install by pip install with folder flag
mhubii Mar 19, 2020
e4b3c36
Merge branch 'master' of https://github.com/mhubii/MONAI
mhubii Mar 19, 2020
9f10654
188 setuptools (#193)
mhubii Mar 19, 2020
e7b6564
188 setup docker image (#192)
wyli Mar 20, 2020
d191b09
191 develop determinism integration test (#195)
Nic-Ma Mar 20, 2020
85efd81
Merge branch 'master' into 135-add-DICOM-loader
mhubii Mar 22, 2020
8de36ae
Merge remote-tracking branch 'upstream/master'
mhubii Mar 22, 2020
a9521bf
solved merge conflicts
mhubii Mar 22, 2020
732befd
Merge branch 'master' into 135-add-DICOM-loader
mhubii Mar 22, 2020
469a136
added SimpleITK and pydicom to dependencies
mhubii Mar 22, 2020
f7c0205
fixed typo
mhubii Mar 23, 2020
d1a21d6
added LoadDICOM and dictionary loader
mhubii Mar 23, 2020
21ae759
added utility functions for dicom handling
mhubii Mar 23, 2020
5c0a207
added tests on pydicom's sample data
mhubii Mar 23, 2020
805c214
added spaces to inline comment
mhubii Mar 23, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Lint

on: [push]
on: [push, pull_request]

jobs:
flake8-py3:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ venv.bak/
# mypy
.mypy_cache/
examples/scd_lvsegs.npz
.temp/
temp/
.idea/

*~
48 changes: 31 additions & 17 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,34 @@
stages:
- build
- build
- coverage

.base_template : &BASE
script:
- nvidia-smi
- export CUDA_DEVICE_ORDER=PCI_BUS_ID
- export CUDA_VISIBLE_DEVICES=0,1
- python -m pip install --upgrade pip
- pip uninstall -y torch torchvision
- pip install -r requirements.txt
# - pip list
- ./runtests.sh --net
- echo "Done with runtests.sh"
full integration:
stage: build
script:
- nvidia-smi
- export CUDA_DEVICE_ORDER=PCI_BUS_ID
- export CUDA_VISIBLE_DEVICES=0,1
- python -m pip install --upgrade pip
- pip uninstall -y torch torchvision
- pip install -q -r requirements.txt
- ./runtests.sh --net
- echo "Done with runtests.sh --net"
tags:
- test

build-ci-test:
stage: build
tags:
- test
<<: *BASE
coverage test:
stage: coverage
only:
- master
- ci-stages
script:
- nvidia-smi
- export CUDA_DEVICE_ORDER=PCI_BUS_ID
- export CUDA_VISIBLE_DEVICES=0,1
- python -m pip install --upgrade pip
- pip uninstall -y torch torchvision
- pip install -q -r requirements.txt
- pip list
- ./runtests.sh --coverage
tags:
- test
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ version: 2

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
configuration: docs/source/conf.py

# Build documentation with MkDocs
#mkdocs:
Expand Down
9 changes: 9 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,15 @@ License information: all source code files should start with this paragraph:

```

### Building the documentation
To build documentation via Sphinx in`docs/` folder:
```bash
cd docs/
make html
```
The above commands build html documentation. Type `make help` for all supported formats,
type `make clean` to remove the current build files.

## Unit testing
MONAI tests are located under `tests/`.

Expand Down
35 changes: 35 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Copyright 2020 MONAI Consortium
# 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.

ARG PYTORCH_IMAGE=nvcr.io/nvidia/pytorch:19.10-py3

FROM ${PYTORCH_IMAGE} as base
RUN apt-get update

WORKDIR /opt/monai
COPY . .

ENV PYTHONPATH=$PYTHONPATH:/opt/monai
ENV PATH=/opt/tools:$PATH

RUN python -m pip install -U pip
# remove preintalls
RUN python -m pip uninstall -y torch torchvision
# install dependencies
RUN python -m pip install -r requirements.txt


# NGC Client
WORKDIR /opt/tools
RUN wget -q https://ngc.nvidia.com/downloads/ngccli_cat_linux.zip && \
unzip ngccli_cat_linux.zip && chmod u+x ngc && \
rm -rf ngccli_cat_linux.zip ngc.md5
WORKDIR /opt/monai
Loading