-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Enabled partial checkpoint loading #1936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Allowing partial loading of a model via strict=False. Signed-off-by: Petru-Daniel Tudosiu <petru.daniel@tudosiu.com>
|
@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 <monai.miccai2019@gmail.com>
|
@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 <nma@nvidia.com>
@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 <petru.daniel@tudosiu.com> * [MONAI] python code formatting Signed-off-by: monai-bot <monai.miccai2019@gmail.com> * [DLMED] simplify strict arg Signed-off-by: Nic Ma <nma@nvidia.com> Co-authored-by: monai-bot <monai.miccai2019@gmail.com> Co-authored-by: Nic Ma <nma@nvidia.com> Signed-off-by: Neha Srivathsa <nsrivathsa@nvidia.com>
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.