Zaktualizuj 'train-mlflow.py'
This commit is contained in:
parent
777b126c73
commit
357d3e7052
@ -91,8 +91,8 @@ def my_main(epochs):
|
||||
with open ("output.txt",'a+') as f:
|
||||
if (epochs%100==0):
|
||||
f.write(f'epoch:{epochs+1},loss = {loss.item():.4f}')
|
||||
x = pd.DataFrame(X_training)
|
||||
y = pd.DataFrame(y_predicted_train)
|
||||
x = X_training.detach()
|
||||
y = y_predicted_train.detach()
|
||||
|
||||
with torch.no_grad():
|
||||
y_predicted = model(X_testing)
|
||||
|
Loading…
Reference in New Issue
Block a user