-
Notifications
You must be signed in to change notification settings - Fork 39
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
about swinunetr and unetr #49
Comments
Hi , I had the same problem, did you solve it? |
@AustinYuAo no |
@Amshaker excuse me? help me,thanks |
UNETR and SwinUNETR are integrated into UNETR++. It will not work as it, and requires some engineering hands-on. It requires some modification in the network architecture to be adapted. For instance, the original architecture of UNETR has an input of 96x96x96. You need to do network modification to adapt with 64x128x128. |
This problem requires you to change your code to class UNETR(SegmentationNetwork): replaces the original class UNETR(nn.Module). |
I'm bothering you! I want to ask you when you ran the comparison model swinutr and unetr, did you directly change the Jiang network architecture to the comparative model architecture directly on the basis of your code? Or is it an experiment against the original code of the model? I followed the first method, but it was reported an error, it was not solved, I want to ask if you know how to solve it? Are you getting such an error?
Traceback (most recent call last):
File "/home/code/unetr_pp++/unetr_pp/run/run_training.py", line 171, in
main()
File "/home/code/unetr_pp++/unetr_pp/run/run_training.py", line 142, in main
trainer.initialize(not validation_only)
File "/home/code/unetr_pp++/unetr_pp/training/network_training/unetr_pp_trainer_tumor.py", line 156, in initialize
assert isinstance(self.network, (SegmentationNetwork, nn.DataParallel))
AssertionError
Process finished with exit code 1
We kindly ask for your prompt reply
The text was updated successfully, but these errors were encountered: