-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix high memory consumption and code quality improvements (#174)
* MRI models engines merged to `MRIModelEngine`. Each model_engine implements `_do_iteration` method. * Fixes to load off memory during validation (Closes #171) * Main engine `predict` and `evaluate` methods refactored * Disables stochasticity - `set_all_seeds` function refactored (Closes #162) * Memory leak identified and fixed (`h5py 3.6.0` -> `3.3.0`) * Implement tests for the `train` method of `Engine` * `Black 22.1.0` fixes Co-authored: * @jonasteuwen
- Loading branch information
1 parent
f624a66
commit e430521
Showing
108 changed files
with
2,312 additions
and
4,839 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
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,17 @@ | ||
pep257: | ||
disable: | ||
- D203 # Conflict with numpydocs | ||
- D213 # Conflict with numpydocs | ||
- D212 # Conflict with numpydocs | ||
|
||
pep8: | ||
disable: | ||
- E501 # Handled by black | ||
- W605 # Conflict with numpydocs - invalid escape sequence | ||
|
||
pylint: | ||
disable: | ||
- import-outside-toplevel | ||
options: | ||
max-args: 20 | ||
|
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,27 @@ | ||
cff-version: 1.2.0 | ||
message: "If you use this software, please cite it as below." | ||
authors: | ||
- family-names: Yiasemis | ||
given-names: George | ||
email: [email protected] | ||
orcid: https://orcid.org/0000-0002-1348-8987 | ||
- family-names: Moriakov | ||
given-names: Nikita | ||
email: [email protected] | ||
orcid: https://orcid.org/0000-0002-7127-1006 | ||
- family-names: Karkalousos | ||
given-names: Dimitrios | ||
email: [email protected] | ||
orcid: https://orcid.org/0000-0001-5983-0322 | ||
- family-names: Caan | ||
given-names: Matthan | ||
email: [email protected] | ||
orcid: https://orcid.org/0000-0002-5162-8880 | ||
- family-names: Teuwen | ||
given-names: Jonas | ||
email: [email protected] | ||
orcid: https://orcid.org/0000-0002-1825-1428 | ||
title: "DIRECT: Deep Image REConstruction Toolkit" | ||
url: "https://github.com/NKI-AI/direct" | ||
version: 1.0.0 | ||
date-released: 2022-07-01 |
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 |
---|---|---|
@@ -1 +1,11 @@ | ||
coverage: | ||
range: 50..90 # coverage lower than 50 is red, higher than 90 green, between color code | ||
|
||
status: | ||
project: # settings affecting project coverage | ||
default: | ||
target: auto # auto % coverage target | ||
threshold: 1% # allow for 1% reduction of coverage without failing | ||
|
||
# do not run coverage on patch nor changes | ||
patch: false |
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
Oops, something went wrong.