Commit 7208641
Fix silent fail if network loads wrong weights (#1521)
* Add warning if the imported network does not have the right keys
Signed-off-by: Matthias Hadlich <[email protected]>
* Update warning
Signed-off-by: Matthias Hadlich <[email protected]>
* Set load_strict to false for deepedit
Signed-off-by: Matthias Hadlich <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: Matthias Hadlich <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: tangy5 <[email protected]>
Co-authored-by: SACHIDANAND ALLE <[email protected]>1 parent 43e9e2a commit 7208641
File tree
2 files changed
+12
-1
lines changed- monailabel/tasks/infer
- sample-apps/radiology/lib/infers
2 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
456 | 466 | | |
457 | 467 | | |
458 | 468 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
0 commit comments