We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I believe this function is not correct; it should be without argument and use self.sf (?)
self.sf
torchgfn/src/gfn/gym/hypergrid.py
Lines 149 to 152 in c62b5b0
The text was updated successfully, but these errors were encountered:
OK - actually, this is fine. It's supposed to return the indices of the final states as sampled. It's used in this file
torchgfn/src/gfn/utils/training.py
Line 20 in 8259a21
to calculate the l1_dist with the true posterior.
l1_dist
however I'm going to patch up one or two things to make this more obvious and make the tests more robust.
Sorry, something went wrong.
get_terminating_states_indices
I've submitted a PR that hopefully addresses the confusion here.
There's no need for this function when it just calls self.get_states_indices -- we should simply directly call this.
self.get_states_indices
Will follow up in new issue
josephdviviano
No branches or pull requests
I believe this function is not correct; it should be without argument and use
self.sf
(?)torchgfn/src/gfn/gym/hypergrid.py
Lines 149 to 152 in c62b5b0
The text was updated successfully, but these errors were encountered: