Skip to content

Commit

Permalink
Update gflownet/gflownet.py
Browse files Browse the repository at this point in the history
Co-authored-by: Alex <[email protected]>
  • Loading branch information
AlexandraVolokhova and alexhernandezgarcia authored Nov 27, 2023
1 parent 764bbec commit d1dcbbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gflownet/gflownet.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def parameters(self):
raise ValueError(f"State flow cannot be trained in {self.loss} loss.")
parameters += list(self.state_flow.model.parameters())
return parameters

raise ValueError(f"State flow cannot be trained with {self.loss} loss.")
def sample_actions(
self,
envs: List[GFlowNetEnv],
Expand Down

0 comments on commit d1dcbbb

Please sign in to comment.