Skip to content

Commit 4b2771a

Browse files
Fix copyright and guidelines test errors for remaining tutorials (#1182)
Fixes #1181 . ### Description - Update the guideline test to avoid counting line returns in non-text outputs (for example, html data) - Add copyright for all remaining scripts and clean replicates of old copyright info in the following notebooks - 2d_classification\mednist_tutorial.ipynb - 2d_registration\registration_mednist.ipynb - 3d_classification\densenet_training_array.ipynb - acceleration\multi_gpu_test.ipynb - acceleration\threadbuffer_performance.ipynb - acceleration\transform_speed.ipynb - modules\TorchIO_MONAI_PyTorch_Lightning.ipynb - modules\UNet_input_size_constrains.ipynb - multimodal\openi_multilabel_classification_transchex\transchex_openi_multilabel_classification.ipynb - experiment_management\spleen_segmentation_aim.ipynb - experiment_management\spleen_segmentation_mlflow.ipynb - Fix markdown cells for notebooks to match guidelines - experiment_management\bundle_integrate_mlflow.ipynb - modules\resample_benchmark.ipynb - Update the outputs in the following notebooks: - 2d_classification\mednist_tutorial.ipynb - 2d_registration\registration_mednist.ipynb - 3d_classification\densenet_training_array.ipynb ### Checks <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Avoid including large-size files in the PR. - [x] Clean up long text outputs from code cells in the notebook. - [x] For security purposes, please check the contents and remove any sensitive info such as user names and private key. - [x] Ensure (1) hyperlinks and markdown anchors are working (2) use relative paths for tutorial repo files (3) put figure and graphs in the `./figure` folder - [ ] Notebook runs automatically `./runner.sh -t <path to .ipynb file>` Signed-off-by: Mingxin Zheng <[email protected]> Signed-off-by: Mingxin Zheng <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent bb33315 commit 4b2771a

File tree

73 files changed

+741
-928
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+741
-928
lines changed

2d_classification/mednist_tutorial.ipynb

Lines changed: 64 additions & 66 deletions
Large diffs are not rendered by default.

2d_registration/registration_mednist.ipynb

Lines changed: 88 additions & 67 deletions
Large diffs are not rendered by default.

2d_segmentation/torch/unet_evaluation_array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020 MONAI Consortium
1+
# Copyright (c) MONAI Consortium
22
# Licensed under the Apache License, Version 2.0 (the "License");
33
# you may not use this file except in compliance with the License.
44
# You may obtain a copy of the License at

2d_segmentation/torch/unet_evaluation_dict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020 MONAI Consortium
1+
# Copyright (c) MONAI Consortium
22
# Licensed under the Apache License, Version 2.0 (the "License");
33
# you may not use this file except in compliance with the License.
44
# You may obtain a copy of the License at

2d_segmentation/torch/unet_training_array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020 MONAI Consortium
1+
# Copyright (c) MONAI Consortium
22
# Licensed under the Apache License, Version 2.0 (the "License");
33
# you may not use this file except in compliance with the License.
44
# You may obtain a copy of the License at

2d_segmentation/torch/unet_training_dict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020 MONAI Consortium
1+
# Copyright (c) MONAI Consortium
22
# Licensed under the Apache License, Version 2.0 (the "License");
33
# you may not use this file except in compliance with the License.
44
# You may obtain a copy of the License at

3d_classification/densenet_training_array.ipynb

Lines changed: 13 additions & 12 deletions
Large diffs are not rendered by default.

3d_classification/ignite/densenet_evaluation_array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020 MONAI Consortium
1+
# Copyright (c) MONAI Consortium
22
# Licensed under the Apache License, Version 2.0 (the "License");
33
# you may not use this file except in compliance with the License.
44
# You may obtain a copy of the License at

3d_classification/ignite/densenet_evaluation_dict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020 MONAI Consortium
1+
# Copyright (c) MONAI Consortium
22
# Licensed under the Apache License, Version 2.0 (the "License");
33
# you may not use this file except in compliance with the License.
44
# You may obtain a copy of the License at

3d_classification/ignite/densenet_training_array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020 MONAI Consortium
1+
# Copyright (c) MONAI Consortium
22
# Licensed under the Apache License, Version 2.0 (the "License");
33
# you may not use this file except in compliance with the License.
44
# You may obtain a copy of the License at

0 commit comments

Comments
 (0)