moved badge image

This commit is contained in:
William Falcon
2019-08-07 12:01:18 -04:00
parent cb0ab9d212
commit 075653e6dd
2 changed files with 7 additions and 3 deletions
+4
View File
@@ -40,3 +40,7 @@ comment:
require_changes: false
behavior: default # update if exists else create new
# branches: *
ignore:
- "pytorch_lightning/utilities/arg_parse.py"
-
+3 -3
View File
@@ -135,16 +135,16 @@ class LightningTestModel(LightningModule):
val_acc = val_acc.unsqueeze(0)
# alternate possible outputs to test
if self.trainer.batch_nb % 1 == 0:
if batch_i % 1 == 0:
output = OrderedDict({
'val_loss': loss_val,
'val_acc': val_acc,
})
return output
if self.trainer.batch_nb % 2 == 0:
if batch_i % 2 == 0:
return val_acc
if self.trainer.batch_nb % 3 == 0:
if batch_i % 3 == 0:
output = OrderedDict({
'val_loss': loss_val,
'val_acc': val_acc,