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 VecGymNE so that it can work with adaptive popsize #106

Merged
merged 1 commit into from
Jun 9, 2024

Conversation

engintoklu
Copy link
Collaborator

@engintoklu engintoklu commented Jun 8, 2024

The problem class VecGymNE used to fail when a distribution-based search algorithm (such as PGPE or CEM) was used with adaptive population size (enabled with the setting num_interactions=...) in non-distributed mode (i.e. with distributed set as False). The reason for this was that VecGymNE was not reporting the number interactions and the number of episodes it encountered in its status dictionary. This pull request fixes this mentioned issue, allowing VecGymNE to work with adaptive population size under non-distributed mode.

The problem class `VecGymNE` used to fail when a
distribution-based search algorithm (such as
`PGPE` or `CEM`) used to fail with adaptive
population size (enabled with the setting
`num_interactions=...`) in non-distributed mode
(i.e. with `distributed` set as False).
The reason for this was that `VecGymNE` was not
reporting the number interactions and the number
of episodes it encountered in its status
dictionary. This commit fixes this mentioned
issue, allowing `VecGymNE` to work with
adaptive population size under non-distributed
mode.
@engintoklu engintoklu added the bug Something isn't working label Jun 8, 2024
@engintoklu engintoklu self-assigned this Jun 8, 2024
@flukeskywalker flukeskywalker merged commit 496e6e2 into master Jun 9, 2024
1 of 2 checks passed
@flukeskywalker flukeskywalker deleted the fix/vecgymne-adaptive-popsize branch June 9, 2024 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants