Skip to content

Commit

Permalink
Fix assert bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gahdritz committed Jul 7, 2023
1 parent 7fdb503 commit 1d878a1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion train_openfold.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ def _log(self, loss_breakdown, batch, outputs, train=True):
)

for k,v in other_metrics.items():
assert(len(v.shape) == 1)
self.log(
f"{phase}/{k}",
torch.mean(v),
Expand Down

0 comments on commit 1d878a1

Please sign in to comment.