Skip to content

Conversation

@rcurtin
Copy link
Member

@rcurtin rcurtin commented Jan 24, 2023

In #3365, @AllIAskOfYou reported that simple convolutional networks fail for non-square kernels. It turns out the reason for this is that when we rotate an MxN kernel for the backwards pass, we mistakenly attempt to put it into an NxM matrix, which fails. My guess is that this was just a simple mix-up: rotating 90 degrees would transpose the result, but 180 does not (and we are doing 180). Anyway, the fix is very nice and easy. :)

@rcurtin rcurtin merged commit be551f3 into mlpack:master Jan 26, 2023
@rcurtin rcurtin deleted the conv-filter-rotate branch January 26, 2023 01:05
@rcurtin rcurtin mentioned this pull request Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants