Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
SobhanMP committed Feb 16, 2024
1 parent 4f058e5 commit f947bb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gflownet/online_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def _opt(self, params, lr=None, momentum=None):
eps=self.cfg.opt.adam_eps,
)

raise NotImplementedError(f"{self.opt.opt} is not implemented")
raise NotImplementedError(f"{self.cfg.opt.opt} is not implemented")

def setup(self):
super().setup()
Expand Down

0 comments on commit f947bb3

Please sign in to comment.