Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Commit f7151d0

Browse files
Merge branch 'main' into 690-ignore-sphinx-build-folders
2 parents 283fec8 + 3eaf2f9 commit f7151d0

File tree

6 files changed

+30
-77
lines changed

6 files changed

+30
-77
lines changed

pull_request_template.md renamed to .github/pull_request_template.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,5 @@ Please follow the guidelines for PRs contained [here](docs/pull_requests.md). Ch
66
- [ ] Add unit tests for all functions that you introduced or modified.
77
- [ ] Run PyCharm's code cleanup tools on your Python files.
88
- [ ] Link the correct GitHub issue for tracking.
9-
- [ ] Update the [Changelog](CHANGELOG.md) file: Describe your change in terms of
10-
Added/Changed/Removed/... in the "Upcoming" section.
119
- [ ] When merging your PR, replace the default merge message with a description of your PR,
1210
and if needed a motivation why that change was required.

.github/workflows/check_changelog.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
# Changelog
22

3-
All notable changes to this project will be documented in this file.
3+
Early versions of this toolbox used a manually created changelog.
4+
As of March 2022, we have switched to using Github's auto-generated changelog.
5+
If you would like to view the changelog for a particular release, you can do so on the [Releases page](https://github.com/microsoft/InnerEye-DeepLearning/releases).
6+
Each release contains a link for "Full Changelog".
47

5-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres
6-
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
8+
## Changelog for Versions before March 2022
79

8-
For each Pull Request, the affected code parts should be briefly described and added here in the "Upcoming" section.
9-
Once a release is done, the "Upcoming" section becomes the release changelog, and a new empty "Upcoming" should be
10-
created.
10+
### Upcoming
1111

12-
## Upcoming
13-
14-
### Added
12+
#### Added
1513

14+
- ([#709](https://github.com/microsoft/InnerEye-DeepLearning/pull/709)) Update hi-ml submodule.
1615
- ([#667](https://github.com/microsoft/InnerEye-DeepLearning/pull/667)) Automatically and linearly scale the learning rate of the SSL encoder to the number of GPUs.
1716
- ([#689](https://github.com/microsoft/InnerEye-DeepLearning/pull/689)) Show default argument values in help message.
1817
- ([#671](https://github.com/microsoft/InnerEye-DeepLearning/pull/671)) Remove sequence models and unused variables. Simplify README.
@@ -57,7 +56,7 @@ jobs that run in AzureML.
5756
- ([#656](https://github.com/microsoft/InnerEye-DeepLearning/pull/656)) Add subsampling transform and support for MIL mean pooling.
5857
- ([#679](https://github.com/microsoft/InnerEye-DeepLearning/pull/679)) Add FP and TN slides/tiles to DeepMIL outputs and extend outputs to multi-class problems.
5958

60-
### Changed
59+
#### Changed
6160

6261
- ([#677](https://github.com/microsoft/InnerEye-DeepLearning/pull/677)) Update TorchIO version to include the recent bug fix related to patch-based inference.
6362
- ([#666](https://github.com/microsoft/InnerEye-DeepLearning/pull/666)) Replace RadIO with TorchIO for patch-based inference.
@@ -97,9 +96,9 @@ gets uploaded to AzureML, by skipping all test folders.
9796
`autosave_every_n_val_epochs`.
9897
- ([#632](https://github.com/microsoft/InnerEye-DeepLearning/pull/632)) Nifti test data is no longer stored in Git LFS
9998

100-
### Fixed
99+
#### Fixed
101100

102-
- ([#698](https://github.com/microsoft/InnerEye-DeepLearning/pull/698)) Ignore Sphinx build folders.
101+
- ([#704](https://github.com/microsoft/InnerEye-DeepLearning/pull/704)) Add submodules to sys.path to fix autodoc's warning.
103102
- ([#699](https://github.com/microsoft/InnerEye-DeepLearning/pull/699)) Fix Sphinx warnings.
104103
- ([#682](https://github.com/microsoft/InnerEye-DeepLearning/pull/682)) Ensure the shape of input patches is compatible with model constraints.
105104
- ([#681](https://github.com/microsoft/InnerEye-DeepLearning/pull/681)) Pad model outputs if they are smaller than the inputs.
@@ -144,7 +143,8 @@ in inference-only runs when using lightning containers.
144143
- ([#655](https://github.com/microsoft/InnerEye-DeepLearning/pull/655)) Run pytest on Linux again, but with Ubuntu 20.04
145144
- ([#674](https://github.com/microsoft/InnerEye-DeepLearning/pull/674)) Fix DeepMIL metrics bug whereby hard labels were used instead of probabilities.
146145

147-
### Removed
146+
#### Removed
147+
148148
- ([#692](https://github.com/microsoft/InnerEye-DeepLearning/pull/692)) Replace InnerEye-DataQuality with a link to commit,
149149
- ([#577](https://github.com/microsoft/InnerEye-DeepLearning/pull/577)) Removing the monitoring of batch loading time,
150150
use the `BatchTimeCallback` from `hi-ml` instead
@@ -159,14 +159,14 @@ in inference-only runs when using lightning containers.
159159
- ([#596](https://github.com/microsoft/InnerEye-DeepLearning/pull/596)) Removed obsolete `TrainGlaucomaCV` from PR build.
160160
- ([#604](https://github.com/microsoft/InnerEye-DeepLearning/pull/604)) Removed all code that downloads datasets, this is now all handled by hi-ml
161161

162-
### Deprecated
162+
#### Deprecated
163163

164164
- ([#633](https://github.com/microsoft/InnerEye-DeepLearning/pull/633)) Model fields `recovery_checkpoint_save_interval` and `recovery_checkpoints_save_last_k` have been retired.
165165
Recovery checkpoint handling is now controlled by `autosave_every_n_val_epochs`.
166166

167-
## 0.3 (2021-06-01)
167+
### 0.3 (2021-06-01)
168168

169-
### Added
169+
#### Added
170170

171171
- ([#483](https://github.com/microsoft/InnerEye-DeepLearning/pull/483)) Allow cross validation with 'bring your own' Lightning models (without ensemble building).
172172
- ([#489](https://github.com/microsoft/InnerEye-DeepLearning/pull/489)) Remove portal query for outliers.
@@ -246,7 +246,7 @@ console for easier diagnostics.
246246
- ([#463](https://github.com/microsoft/InnerEye-DeepLearning/pull/463)) Add arguments `dirs_recursive` and
247247
`dirs_non_recursive` to `mypy_runner.py` to let users specify a list of directories to run mypy on.
248248

249-
### Changed
249+
#### Changed
250250

251251
- ([#385](https://github.com/microsoft/InnerEye-DeepLearning/pull/385)) Starting an AzureML run now uses the
252252
`ScriptRunConfig` object, rather than the deprecated `Estimator` object.
@@ -279,7 +279,7 @@ console for easier diagnostics.
279279
`get_image_transform` (resp. `get_segmentation_transform`). These two functions replace the old
280280
`get_image_sample_transforms` method. See `docs/building_models.md` for more information on augmentations.
281281

282-
### Fixed
282+
#### Fixed
283283

284284
- ([#422](https://github.com/microsoft/InnerEye-DeepLearning/pull/422)) Documentation - clarified `setting_up_aml.md`
285285
datastore creation instructions and fixed small typos in `hello_world_model.md`
@@ -293,7 +293,7 @@ console for easier diagnostics.
293293
- ([#445](https://github.com/microsoft/InnerEye-DeepLearning/pull/445)) Fixed a bug when running inference for
294294
container models on machines with >1 GPU
295295

296-
### Removed
296+
#### Removed
297297

298298
- ([#439](https://github.com/microsoft/InnerEye-DeepLearning/pull/439)) Deprecated `start_epoch` config argument.
299299
- ([#450](https://github.com/microsoft/InnerEye-DeepLearning/pull/450)) Delete unused `classification_report.ipynb`.
@@ -303,11 +303,11 @@ console for easier diagnostics.
303303
RandAugment & Co. The user has now instead complete freedom to specify the set of augmentations to use.
304304
- ([#468](https://github.com/microsoft/InnerEye-DeepLearning/pull/468)) Removed the `KneeSinglecoil` example model
305305

306-
### Deprecated
306+
#### Deprecated
307307

308-
## 0.2 (2021-01-29)
308+
### 0.2 (2021-01-29)
309309

310-
### Added
310+
#### Added
311311

312312
- ([#323](https://github.com/microsoft/InnerEye-DeepLearning/pull/323)) There are new model configuration fields
313313
(and hence, commandline options), in particular for controlling PyTorch Lightning (PL) training:
@@ -326,7 +326,7 @@ console for easier diagnostics.
326326
config's `get_model_train_test_dataset_splits()` method. See the `InnerEye.ML.utils.split_dataset.DatasetSplits` class
327327
for details.
328328

329-
### Changed
329+
#### Changed
330330

331331
- ([#323](https://github.com/microsoft/InnerEye-DeepLearning/pull/323)) The codebase has undergone a massive
332332
refactoring, to use PyTorch Lightning as the foundation for all training. As a consequence of that:
@@ -351,13 +351,13 @@ console for easier diagnostics.
351351
- ([#427](https://github.com/microsoft/InnerEye-DeepLearning/pull/427)) Move dicom loading function from SimpleITK to
352352
pydicom. Loading time improved by 30x.
353353

354-
### Fixed
354+
#### Fixed
355355

356356
- When registering a model, it now has a consistent folder structured, described [here](docs/deploy_on_aml.md). This
357357
folder structure is present irrespective of using InnerEye as a submodule or not. In particular, exactly 1 Conda
358358
environment will be contained in the model.
359359

360-
### Removed
360+
#### Removed
361361

362362
- The commandline options to control which checkpoint is saved, and which is used for inference, have been removed:
363363
`save_start_epoch`, `save_step_epochs`, `epochs_to_test`, `test_diff_epochs`, `test_step_epochs`, `test_start_epoch`
@@ -367,8 +367,8 @@ console for easier diagnostics.
367367
- Removed ability to perform sub-fold cross validation. The parameters `number_of_cross_validation_splits_per_fold`
368368
and `cross_validation_sub_fold_split_index` have been removed from ScalarModelBase.
369369

370-
### Deprecated
370+
#### Deprecated
371371

372-
## 0.1 (2020-11-13)
372+
### 0.1 (2020-11-13)
373373

374374
- This is the baseline release.

docs/pull_requests.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ AzureML workspace. A member of the InnerEye team will be happy to assist then.
1212
by pressing Ctrl+Alt+L, or selecting "Reformat code" in the context menu of the file(s) in the project explorer window.
1313
Alternatively, you should tick all of "Reformat code", "Rearrange code", "Optimize imports", "Cleanup", "Scan with mypy"
1414
in the PyCharm version control check-in dialog.
15-
* Ensure that you modified [CHANGELOG.md](../CHANGELOG.md) and described your PR there.
1615
* Only publish your PR for review once you have a build that is passing. You can make use of the "Create as Draft"
1716
feature of GitHub.
1817
* Link the correct Github issue.

hi-ml

Submodule hi-ml updated 102 files

sphinx-docs/source/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
from pathlib import Path
2020
repo_dir = Path(__file__).absolute().parents[2]
2121
sys.path.insert(0, str(repo_dir))
22+
from InnerEye.Common import fixed_paths
23+
fixed_paths.add_submodules_to_path()
2224

2325

2426
# -- Imports -----------------------------------------------------------------

0 commit comments

Comments
 (0)