Commit f31b55f
dimension check for pretrained model weights (#2984)
* dimension check for pretrained model weights
This PR implements a dimension check, before trying to load pre-trained model weights.
Signed-off-by: neuronflow <[email protected]>
* [MONAI] python code formatting
Signed-off-by: monai-bot <[email protected]>
Signed-off-by: neuronflow <[email protected]>
* multi line split error
Signed-off-by: neuronflow <[email protected]>
Co-authored-by: monai-bot <[email protected]>1 parent b791ed2 commit f31b55f
1 file changed
+15
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
310 | 314 | | |
311 | 315 | | |
312 | 316 | | |
| |||
329 | 333 | | |
330 | 334 | | |
331 | 335 | | |
332 | | - | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
333 | 341 | | |
334 | 342 | | |
335 | 343 | | |
| |||
352 | 360 | | |
353 | 361 | | |
354 | 362 | | |
355 | | - | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
356 | 368 | | |
357 | 369 | | |
358 | 370 | | |
| |||
0 commit comments