Skip to content
New issue

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

Fix and improve backward sampling from data set and replay buffer #276

Merged
merged 6 commits into from
Feb 12, 2024

Conversation

alexhernandezgarcia
Copy link
Owner

@alexhernandezgarcia alexhernandezgarcia commented Jan 22, 2024

This PR unifies the functionality to sample and construct a batch from a buffer (replay buffer or training data set) into a common Buffer method, select().

Tests

  • python -m pytest ./tests/

gflownet/utils/buffer.py Outdated Show resolved Hide resolved
gflownet/utils/buffer.py Show resolved Hide resolved
@alexhernandezgarcia
Copy link
Owner Author

No explicit approval from @vict0rsch but all comments have been addressed. In the interest of time, I will bypass protection and merge.

@alexhernandezgarcia alexhernandezgarcia merged commit 4bd44ba into main Feb 12, 2024
1 check failed
@vict0rsch
Copy link
Collaborator

Sorry, LGTM

@josephdviviano josephdviviano deleted the backward-sampling branch February 14, 2024 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants