This commit is contained in:
parent
8f958c000e
commit
6853d49f20
@ -165,7 +165,7 @@ def evaluate_monte_carlo(model, repeats):
|
||||
i += BATCH_SIZE
|
||||
inner_bar.update(2 * BATCH_SIZE)
|
||||
outer_bar.update(1)
|
||||
with open('results.txt') as r:
|
||||
with open('results.txt', 'w+') as r:
|
||||
print("Average estimation error " + str(diff.item() / i))
|
||||
r.write("Average estimation error " + str(diff.item() / i)+"\n")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user