Skip to content
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

conv3d #10

Open
walynlee opened this issue Jun 20, 2021 · 1 comment
Open

conv3d #10

walynlee opened this issue Jun 20, 2021 · 1 comment

Comments

@walynlee
Copy link

Hello, can I ask how to operate with conv_type='3d'?
about the code 'theta = torch.mean(theta, axis=-1)' when conv_type = '2d'?
Do somebody know?Thanks a lot.

@walynlee
Copy link
Author

when I put the DyReluA in my model, it occurs this error:
raceback (most recent call last):
File ".\main.py", line 119, in
main()
File ".\main.py", line 111, in main
train_funcation = train_eval
File "D:\walyn\CTPelvic1K_project\utils\util.py", line 156, in train
loss.backward()
File "D:\Anaconda\envs\rtx3090\lib\site-packages\torch\tensor.py", line 221, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph)
File "D:\Anaconda\envs\rtx3090\lib\site-packages\torch\autograd_init_.py", line 132, in backward
allow_unreachable=True) # allow_unreachable flag
RuntimeError: ones needs to be contiguous
and I don't know how to fix it. Would somebody know,please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant