Skip to content

Commit

Permalink
Minor bug fixes for agatha ml
Browse files Browse the repository at this point in the history
  • Loading branch information
JSybrandt committed May 25, 2020
1 parent cb2c71d commit a03c6ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions agatha/ml/hypothesis_predictor/hypothesis_predictor.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,6 @@ def _step(
print("Positive Predicates:\n", positive_predicates)
print("Positive Scores:\n", positive_predictions)
print("Negative Scores:\n", negative_predictions)
print("Positive Sample:\n", pos)
print("Negative Sample:\n", neg)
raise Exception("Invalid loss")
else:
partial_losses.append(part_loss)
Expand Down
1 change: 1 addition & 0 deletions agatha/ml/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from pytorch_lightning import Trainer
from argparse import ArgumentParser, Namespace
from typing import List, Any, Tuple, Dict
import os

class AgathaModule(pl.LightningModule):
"""
Expand Down

0 comments on commit a03c6ff

Please sign in to comment.