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

pooling.py的一个bug #3

Open
fmscole opened this issue May 9, 2018 · 1 comment
Open

pooling.py的一个bug #3

fmscole opened this issue May 9, 2018 · 1 comment

Comments

@fmscole
Copy link

fmscole commented May 9, 2018

我还是认为,
pooling.py的79行,应该对self.index有一个清零的步骤,self.index = np.zeros(self.input_shape)
即:
forward(self, x):
out = np.zeros([x.shape[0], x.shape[1] / self.stride,
x.shape[2] / self.stride, self.output_channels])
self.index = np.zeros(self.input_shape)
for b in range(x.shape[0]):
............................
供讨论

@wuziheng
Copy link
Owner

额,半年都太忙了,很久没有看自己的代码了。但我思考了一下,如果没有清的话,可能是要一个。

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