fixed amp bug

This commit is contained in:
William Falcon
2019-07-24 14:16:05 -04:00
parent ca1835e063
commit 5fe833ae01
+1 -1
View File
@@ -281,7 +281,7 @@ def run_prediction(dataloader, trained_model):
print(val_acc)
assert val_acc > 0.70, f'this model is expected to get > 0.7 in test set (it got {val_acc})'
assert val_acc > 0.60, f'this model is expected to get > 0.6 in test set (it got {val_acc})'
def assert_ok_acc(trainer):