pathnet-pytorch icon indicating copy to clipboard operation
pathnet-pytorch copied to clipboard

fixing a typo

Open taey16 opened this issue 8 years ago • 1 comments

@kimhc6028 , Thanks for your well programmed repo.

I think following line of code should be modified. It just seems a typo. https://github.com/kimhc6028/pathnet-pytorch/blob/master/pathnet.py#L94

y = F.relu(self.fc3[path[1][0]](x)) --> y = F.relu(self.fc3[path[2][0]](x))

taey16 avatar Nov 07 '17 05:11 taey16

yes, right. Thank you for finding it!

kimhc6028 avatar Nov 10 '17 11:11 kimhc6028