This repository was archived by the owner on Jun 3, 2025. It is now read-only.
Commit d1303cc
Refactor: torchvision save checkpoint code, to include the checkpoint (#1334)
Refactor: Model creation code, to try `ModelRegistry.create` even when `arch_key` is `None`; This tries to read the arch_key from the model checkpoint, if key is not present, the relevant function still raise the respective errors1 parent f7cc6a6 commit d1303cc
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | | - | |
| 371 | + | |
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
| |||
652 | 652 | | |
653 | 653 | | |
654 | 654 | | |
| 655 | + | |
655 | 656 | | |
656 | 657 | | |
657 | 658 | | |
| |||
703 | 704 | | |
704 | 705 | | |
705 | 706 | | |
706 | | - | |
| 707 | + | |
707 | 708 | | |
708 | 709 | | |
709 | 710 | | |
| |||
712 | 713 | | |
713 | 714 | | |
714 | 715 | | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
715 | 719 | | |
716 | 720 | | |
717 | 721 | | |
| |||
724 | 728 | | |
725 | 729 | | |
726 | 730 | | |
727 | | - | |
| 731 | + | |
728 | 732 | | |
729 | 733 | | |
730 | 734 | | |
| |||
0 commit comments