archvie results
This commit is contained in:
parent
9cc09214cb
commit
8f958c000e
@ -13,7 +13,7 @@ pipeline {
|
|||||||
|
|
||||||
post {
|
post {
|
||||||
success {
|
success {
|
||||||
archiveArtifacts 'cnn.pth'
|
archiveArtifacts 'cnn.pth,results.txt'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -165,7 +165,9 @@ def evaluate_monte_carlo(model, repeats):
|
|||||||
i += BATCH_SIZE
|
i += BATCH_SIZE
|
||||||
inner_bar.update(2 * BATCH_SIZE)
|
inner_bar.update(2 * BATCH_SIZE)
|
||||||
outer_bar.update(1)
|
outer_bar.update(1)
|
||||||
print("Average estimation error " + str(diff.item() / i))
|
with open('results.txt') as r:
|
||||||
|
print("Average estimation error " + str(diff.item() / i))
|
||||||
|
r.write("Average estimation error " + str(diff.item() / i)+"\n")
|
||||||
|
|
||||||
|
|
||||||
cnn = CNN(kernel_size=3, hidden_layers=14, channels=MAX_LEN, embedding_size=MAX_LEN).to(DEVICE)
|
cnn = CNN(kernel_size=3, hidden_layers=14, channels=MAX_LEN, embedding_size=MAX_LEN).to(DEVICE)
|
||||||
|
Loading…
Reference in New Issue
Block a user