-
Notifications
You must be signed in to change notification settings - Fork 29
Two bugs encountered #2
Copy link
Copy link
Open
Description
Great work - thanks a lot for this!
When using the code on some test images, I had to adjust the following pieces of code:
In Net.forward() after line 135 I added the statement
is_max = torch.unsqueeze(is_max, dim=0)In Net.__init__() change line 79 to prevent a dimension mismatch as follows:
self.directional_filter.weight.data.copy_(torch.from_numpy(all_filters[:, None, ...]))Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels