Floatify
All checks were successful
s444409-evaluation/pipeline/head This commit looks good
s444409-training/pipeline/head This commit looks good

This commit is contained in:
Marcin Kostrzewski 2022-05-11 19:10:26 +02:00
parent 5db367b894
commit 3fa8d9b448

View File

@ -24,7 +24,7 @@ class MLP(nn.Module):
def forward(self, x): def forward(self, x):
x = x.view(x.size(0), -1) x = x.view(x.size(0), -1)
return self.layers(x) return self.layers(x.float())
class PlantsDataset(Dataset): class PlantsDataset(Dataset):