Skip to content

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
vict0rsch committed Feb 21, 2024
1 parent 8af1ac8 commit db736a8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion gflownet/evaluator/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,6 @@ def compute_log_prob_metrics(self, x_tt, metrics=None):
def compute_density_metrics(self, x_tt, dict_tt, metrics=None):
gfn = self.gfn_agent
metrics = self.make_metrics(metrics)
reqs = self.make_requirements(metrics=metrics) # TODO-V: unused for now, TBD

density_metrics = {}
x_sampled = density_true = density_pred = None
Expand Down
1 change: 0 additions & 1 deletion gflownet/gflownet.py
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,6 @@ def train(self):
# Log
if self.logger.lightweight:
all_losses = all_losses[-100:]
all_visited = states_term # TODO-V: unused
else:
all_visited.extend(states_term)
# Progress bar
Expand Down

0 comments on commit db736a8

Please sign in to comment.