Skip to content

2506 Fix strict_shape in CheckointLoader#2508

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

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

Conversation

@Nic-Ma
Copy link
Copy Markdown
Contributor

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

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 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
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jul 2, 2021

/black

@Nic-Ma Nic-Ma requested review from ericspod, rijobro and wyli July 2, 2021 05:43
@wyli
Copy link
Copy Markdown
Contributor

wyli commented Jul 2, 2021

/integation-test

@Nic-Ma Nic-Ma force-pushed the 2506-fix-checkpointloader branch from 405ad7d to 86f5c97 Compare July 2, 2021 10:18
@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jul 2, 2021

/black

@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jul 2, 2021

/black

@Nic-Ma Nic-Ma requested a review from wyli July 2, 2021 10:51
Copy link
Copy Markdown
Contributor

@wyli wyli left a comment

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

@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jul 2, 2021

/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
@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jul 2, 2021

/black

Signed-off-by: Nic Ma <[email protected]>
@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jul 2, 2021

/black

@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 <[email protected]>

* [DLMED] add warning message

Signed-off-by: Nic Ma <[email protected]>

* [MONAI] python code formatting

Signed-off-by: monai-bot <[email protected]>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] add links

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] Enhance doc-strings

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] enhance CI tests

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] fix flake8

Signed-off-by: Nic Ma <[email protected]>

* [MONAI] python code formatting

Signed-off-by: monai-bot <[email protected]>

Co-authored-by: monai-bot <[email protected]>
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