Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #6183 . ### Description Added a "use_v2" option in swinunetr initialization. Default is false will not affect the original swinunetr. Once changed to true, will become swinunetr-v2 with 4 additional convolution block. Tested running from auto3dseg bundles, no change needed for original swinunetr, and works for swinunetr-v2 Tested running from monai research contribution repo for swinuntr, no change needed for original swinunetr, and works for swinunetr-v2 Tested TensorRT, compiled .ts file successfully. ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [ ] New tests added to cover the changes. - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [ ] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. --------- Signed-off-by: heyufan1995 <heyufan1995@gmail.com>
- Loading branch information