update dllib-mlflow.py
This commit is contained in:
parent
26b0736758
commit
b865d30572
@ -31,10 +31,10 @@ class Model(nn.Module):
|
|||||||
self.layer3 = nn.Linear(40, 3)
|
self.layer3 = nn.Linear(40, 3)
|
||||||
|
|
||||||
def forward(self, x):
|
def forward(self, x):
|
||||||
x = F.relu(self.layer1(x))
|
x = F.relu(self.layer1(x.float()))
|
||||||
x = F.relu(self.layer2(x))
|
x = F.relu(self.layer2(x.float()))
|
||||||
x = F.softmax(self.layer3(x)) # To check with the loss function
|
x = F.softmax(self.layer3(x.float())) # To check with the loss function
|
||||||
return x
|
return x.float()
|
||||||
|
|
||||||
# funkcja usuwająca wiersze zawierające platformę "Stadia"
|
# funkcja usuwająca wiersze zawierające platformę "Stadia"
|
||||||
def delete_stadia(games):
|
def delete_stadia(games):
|
||||||
|
Loading…
Reference in New Issue
Block a user