final sacred
This commit is contained in:
parent
54cd87708b
commit
866186c16e
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -32,4 +32,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
success {
|
||||
build job: 's434766-training/master', parameters: [string(name: 'BATCH_SIZE', value:'16'), string(name: 'EPOCHS', value:'5') ]
|
||||
}
|
||||
}
|
||||
}
|
@ -43,6 +43,7 @@ pipeline {
|
||||
}
|
||||
post {
|
||||
success {
|
||||
build job: 's434766-evaluation/master'
|
||||
mail body: 'SUCCESS TRAINING', subject: 's434766', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'
|
||||
}
|
||||
|
||||
|
@ -72,7 +72,7 @@ def train(num_epochs, batch_size, learning_rate, _log):
|
||||
info_loss = "Last loss = " + str(loss.item())
|
||||
_log.info(info_loss)
|
||||
y_pred = model(fTest)
|
||||
print("predicted Y value: ", y_pred.data)
|
||||
# print("predicted Y value: ", y_pred.data)
|
||||
|
||||
torch.save(model.state_dict(), 'stroke.pth')
|
||||
|
||||
|
@ -73,7 +73,7 @@ def train(num_epochs, batch_size, learning_rate, _log):
|
||||
info_loss = "Last loss = " + str(loss.item())
|
||||
_log.info(info_loss)
|
||||
y_pred = model(fTest)
|
||||
print("predicted Y value: ", y_pred.data)
|
||||
# print("predicted Y value: ", y_pred.data)
|
||||
|
||||
torch.save(model.state_dict(), 'stroke.pth')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user