Enabled partial checkpoint loading#1936
Enabled partial checkpoint loading#1936Nic-Ma merged 5 commits intoProject-MONAI:masterfrom danieltudosiu:1891_strict_false
Conversation
Allowing partial loading of a model via strict=False. Signed-off-by: Petru-Daniel Tudosiu <[email protected]>
|
@Nic-Ma if I check the error of the check and I do what it asks I get I installed the requirements based on requirements-dev.txt. What should I do? |
|
/black |
Signed-off-by: monai-bot <[email protected]>
|
@wyli I am using black locally as well. I always format my files with black before pushing them :-? |
could you show the full traceback? I can look into it |
|
I checked and I have pytorch-ignite==0.4.4 Here it is: |
|
perhaps try |
|
Why? What's the logics? Isn't pytorch-ignite an optional dependency of MONAI? If I run "pip list | grep ignite" I get: Isn't this supposed to be what's required for us to develop by using Ignite infrastructure? |
|
thanks @danieltudosiu
there's another package named ignite https://pypi.org/project/ignite the folders can be messed up... |
|
What else can it be? Since the checks are passing it means it is a local issue, not a MONAI one. |
Signed-off-by: Nic Ma <[email protected]>
@danieltudosiu it could be also probably explaned by #1930 where |
|
@vfdev-5 Thanks for pointing it to me. Will pull the latest commit from MONAI. |
* Enabled partial checkpoint loading Allowing partial loading of a model via strict=False. Signed-off-by: Petru-Daniel Tudosiu <[email protected]> * [MONAI] python code formatting Signed-off-by: monai-bot <[email protected]> * [DLMED] simplify strict arg Signed-off-by: Nic Ma <[email protected]> Co-authored-by: monai-bot <[email protected]> Co-authored-by: Nic Ma <[email protected]> Signed-off-by: Neha Srivathsa <[email protected]>
Description
Allowing partial loading of a model via strict=False.
fixes #1891
Status
Ready
Types of changes
./runtests.sh -f -u --net --coverage../runtests.sh --quick --unittests.make htmlcommand in thedocs/folder.