When loading Pytorch lightning modules, both weights and configuration (log_path, metrics...) will be loaded.
If a user changes some of the configurations like log_path, the current mechanism of loading checkpoint won't work as expected. (Old configuration in ckpt will be used)
Test CLI & API (bash tests/autotest.sh)
Test APIs used by main.py.
[x] Test Pass
[ ] Not Applicable (i.e., the PR does not include API changes.)
Check API Document
If any new APIs are added, please check if the description of the APIs is added to API document.
[x] Not Applicable (i.e., the PR does not include API changes.)
Test quickstart & API (bash tests/docs/test_changed_document.sh)
If any APIs in quickstarts or tutorials are modified, please run this test to check if the current examples can run correctly after the modified APIs are released.
What does this PR do?
When loading Pytorch lightning modules, both weights and configuration (log_path, metrics...) will be loaded. If a user changes some of the configurations like log_path, the current mechanism of loading checkpoint won't work as expected. (Old configuration in ckpt will be used)
Test CLI & API (
bash tests/autotest.sh
)Test APIs used by main.py.
[x] Test Pass
[ ] Not Applicable (i.e., the PR does not include API changes.)
Check API Document
If any new APIs are added, please check if the description of the APIs is added to API document.
Test quickstart & API (
bash tests/docs/test_changed_document.sh
)If any APIs in quickstarts or tutorials are modified, please run this test to check if the current examples can run correctly after the modified APIs are released.