kimhc6028 / pathnet-pytorch

PyTorch implementation of PathNet: Evolution Channels Gradient Descent in Super Neural Networks
BSD 3-Clause "New" or "Revised" License
80 stars 18 forks source link

fixing a typo #5

Open taey16 opened 6 years ago

taey16 commented 6 years ago

@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))

kimhc6028 commented 6 years ago

yes, right. Thank you for finding it!