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

conv type为2d时求theta是不是有点问题 #1

Open
WuChannn opened this issue Sep 10, 2021 · 2 comments
Open

conv type为2d时求theta是不是有点问题 #1

WuChannn opened this issue Sep 10, 2021 · 2 comments

Comments

@WuChannn
Copy link

WuChannn commented Sep 10, 2021

原代码中:
if self.conv_type == '2d':
theta = torch.mean(theta, axis=-1)
但是这样的话theta为三维的,是不是应该在求mean之前reshape,如:
if self.conv_type == '2d':
theta = torch.reshape(theta, (:,:,-1))
theta = torch.mean(theta, axis=-1)

@WuChannn WuChannn changed the title conv type为2 conv type为2d时求theta是不是有点问题 Sep 10, 2021
@WuChannn
Copy link
Author

@bobo0810 期待与您探讨一下

@bobo0810
Copy link
Owner

@bobo0810 期待与您探讨一下

你好,非常抱歉,我在训练过程中没有遇到这个问题。也许你可以去官方库探讨一下?

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

2 participants