Open joseflorezc opened 3 years ago
Hello!
im trying to run the project but this error appears when trying to run networks.py, in the function:
def forward(self, x): x = self.conv(x) x = x.view(x.size(0), -1) <- in this specific part x = self.linear(x) x = self.tanh(x) return x
any suggestions?
try this: x = x.contigous().view(x.size(0), -1)
Hello!
im trying to run the project but this error appears when trying to run networks.py, in the function:
def forward(self, x): x = self.conv(x) x = x.view(x.size(0), -1) <- in this specific part x = self.linear(x) x = self.tanh(x) return x
any suggestions?