-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
SwinUNETR refactored img_size parameter and removed checkpointing dep… #7093
SwinUNETR refactored img_size parameter and removed checkpointing dep… #7093
Conversation
…recation Signed-off-by: John Zielke <john.zielke@snkeos.com>
Signed-off-by: John Zielke <john.zielke@snkeos.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, it looks good to me, merging for more integration tests.
/build |
Not quite to sure how to read the logs of the blossom-ci (showing ****** Result of stage V100-quick-PT210+CUDA122 is FAILURE ******), but it ends in:
I'm not quite sure how this could be related to this PR. Could this be an issue with pytorch 2.1.0? |
One point regarding the image_size parameter deprecation: It's kind of weird to deprecate the first positional parameter. Since you cannot remove the parameter in your project code until we actually remove it, you cannot get rid of the warning until version 1.5. And from that version on the parameter will disappear, and if you did not change your code, the in_channels parameter will now have the value of the img_size parameter. I do not really see a nice way around this, only possible help could be to check if the depths parameter is a single int instead of a Sequence, and then warn of this issue. |
/build |
yeah, I also feel the initial implementation of requiring |
Should I create an issue to discuss moving all networks and other reasonable functions to accept only keyword-only arguments? |
Description
Make two changes for the SwinUNETR network:
Types of changes
./runtests.sh -f -u --net --coverage
../runtests.sh --quick --unittests --disttests
.make html
command in thedocs/
folder.