Skip to content

2506 Fix strict_shape in CheckointLoader#2508

Merged
Nic-Ma merged 16 commits into
Project-MONAI:devfrom
Nic-Ma:2506-fix-checkpointloader
Jul 2, 2021
Merged

2506 Fix strict_shape in CheckointLoader#2508
Nic-Ma merged 16 commits into
Project-MONAI:devfrom
Nic-Ma:2506-fix-checkpointloader

Conversation

@Nic-Ma

@Nic-Ma Nic-Ma commented Jul 2, 2021

Copy link
Copy Markdown
Contributor

Fixes #2506 .

Description

This PR fixed the strick_shape arg issue for non-model items.

Status

Ready

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh -f -u --net --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick --unittests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

Nic-Ma and others added 5 commits February 1, 2021 19:15
@Nic-Ma Nic-Ma changed the title [WIP] 2506 Fix strick_shape in CheckointLoader 2506 Fix strick_shape in CheckointLoader Jul 2, 2021
@Nic-Ma Nic-Ma changed the title 2506 Fix strick_shape in CheckointLoader 2506 Fix strict_shape in CheckointLoader Jul 2, 2021
@Nic-Ma Nic-Ma marked this pull request as ready for review July 2, 2021 05:42
@Nic-Ma

Nic-Ma commented Jul 2, 2021

Copy link
Copy Markdown
Contributor Author

/black

@Nic-Ma Nic-Ma requested review from ericspod, rijobro and wyli July 2, 2021 05:43
monai-bot and others added 2 commits July 2, 2021 05:46
Comment thread monai/handlers/checkpoint_loader.py
@wyli

wyli commented Jul 2, 2021

Copy link
Copy Markdown
Contributor

/integation-test

Signed-off-by: Nic Ma <nma@nvidia.com>
@Nic-Ma Nic-Ma force-pushed the 2506-fix-checkpointloader branch from 405ad7d to 86f5c97 Compare July 2, 2021 10:18
@Nic-Ma

Nic-Ma commented Jul 2, 2021

Copy link
Copy Markdown
Contributor Author

/black

Comment thread monai/handlers/checkpoint_loader.py Outdated
Nic-Ma added 2 commits July 2, 2021 18:42
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
@Nic-Ma

Nic-Ma commented Jul 2, 2021

Copy link
Copy Markdown
Contributor Author

/black

@Nic-Ma Nic-Ma requested a review from wyli July 2, 2021 10:51
Comment thread monai/handlers/checkpoint_loader.py
Comment thread monai/handlers/checkpoint_loader.py

@wyli wyli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I think the API could be improved, but I guess that is beyond this bug fix PR

Signed-off-by: Nic Ma <nma@nvidia.com>
@Nic-Ma

Nic-Ma commented Jul 2, 2021

Copy link
Copy Markdown
Contributor Author

/black

@Nic-Ma Nic-Ma enabled auto-merge (squash) July 2, 2021 13:55
@Nic-Ma Nic-Ma disabled auto-merge July 2, 2021 14:28
Signed-off-by: Nic Ma <nma@nvidia.com>
@Nic-Ma

Nic-Ma commented Jul 2, 2021

Copy link
Copy Markdown
Contributor Author

/black

Signed-off-by: Nic Ma <nma@nvidia.com>
@Nic-Ma

Nic-Ma commented Jul 2, 2021

Copy link
Copy Markdown
Contributor Author

/black

monai-bot and others added 2 commits July 2, 2021 15:28
@Nic-Ma Nic-Ma enabled auto-merge (squash) July 2, 2021 16:20
@Nic-Ma Nic-Ma merged commit 8afb565 into Project-MONAI:dev Jul 2, 2021
@Nic-Ma Nic-Ma deleted the 2506-fix-checkpointloader branch July 2, 2021 23:35
wyli pushed a commit to wyli/MONAI that referenced this pull request Jul 5, 2021
* [DLMED] fix strict_shape

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] add warning message

Signed-off-by: Nic Ma <nma@nvidia.com>

* [MONAI] python code formatting

Signed-off-by: monai-bot <monai.miccai2019@gmail.com>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] add links

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] Enhance doc-strings

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] enhance CI tests

Signed-off-by: Nic Ma <nma@nvidia.com>

* [DLMED] fix flake8

Signed-off-by: Nic Ma <nma@nvidia.com>

* [MONAI] python code formatting

Signed-off-by: monai-bot <monai.miccai2019@gmail.com>

Co-authored-by: monai-bot <monai.miccai2019@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A potential bug in CheckpointLoader

4 participants