You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python examples/scripts/mapelites_profiling.py
[2024-02-09 15:26:24] INFO <28574> evotorch.core: Instance of `Problem` (id:4430191008) -- The `dtype` for the problem's decision variables is set as torch.float32
[2024-02-09 15:26:24] INFO <28574> evotorch.core: Instance of `Problem` (id:4430191008) -- `eval_dtype` (the dtype of the fitnesses and evaluation data) is set as torch.float32
[2024-02-09 15:26:24] INFO <28574> evotorch.core: Instance of `Problem` (id:4430191008) -- The `device` of the problem is set as cpu
[2024-02-09 15:26:24] INFO <28574> evotorch.core: Instance of `Problem` (id:4430191008) -- The number of actors that will be allocated for parallelized evaluation is 0
Final status:
<LazyStatusDict
mean_eval = <not yet computed>
pop_best_eval = <not yet computed>
pop_best = <not yet computed>
median_eval = <not yet computed>
iter = 100
best = <Solution values=tensor([-1.1418, -1.1287, -1.1360]), evals=tensor([-26.1036, -14.5129, -11.5906])>
worst = <Solution values=tensor([-4.9854, 3.2066, -3.7966]), evals=tensor([17.0567, -6.7572, 23.8138])>
best_eval = -26.10356903076172
worst_eval = 17.056659698486328
>
Impl: <class 'evotorch.algorithms.mapelites.RegularMAPElites'>
Time spent (secs): 0.46088290214538574
Filled hypervolumes: ReadOnlyTensor(1564)
[2024-02-09 15:26:24] INFO <28574> evotorch.core: Instance of `Problem` (id:4839976912) -- The `dtype` for the problem's decision variables is set as torch.float32
[2024-02-09 15:26:24] INFO <28574> evotorch.core: Instance of `Problem` (id:4839976912) -- `eval_dtype` (the dtype of the fitnesses and evaluation data) is set as torch.float32
[2024-02-09 15:26:24] INFO <28574> evotorch.core: Instance of `Problem` (id:4839976912) -- The `device` of the problem is set as cpu
[2024-02-09 15:26:24] INFO <28574> evotorch.core: Instance of `Problem` (id:4839976912) -- The number of actors that will be allocated for parallelized evaluation is 0
Final status:
<LazyStatusDict
mean_eval = <not yet computed>
pop_best_eval = <not yet computed>
pop_best = <not yet computed>
median_eval = <not yet computed>
iter = 100
best = <Solution values=tensor([-1.1362, -1.1318, -1.1396]), evals=tensor([-26.1026, -14.5087, -11.5939])>
worst = <Solution values=tensor([-3.4925, 3.5591, -4.8970]), evals=tensor([16.4008, -6.6685, 23.0693])>
best_eval = -26.102632522583008
worst_eval = 16.400814056396484
>
Impl: <class 'evotorch.algorithms.mapelites.MAPElites'>
Time spent (secs): 38.28567409515381
Filled hypervolumes: ReadOnlyTensor(1523)
Summary:
Impl: <class 'evotorch.algorithms.mapelites.RegularMAPElites'>
Time spent (secs): 0.46088290214538574
Filled hypervolumes: ReadOnlyTensor(1564)
Impl: <class 'evotorch.algorithms.mapelites.MAPElites'>
Time spent (secs): 38.28567409515381
Filled hypervolumes: ReadOnlyTensor(1523)
<
31A7
div hidden>
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#93
Is a second implementation appropriate? The only drawback I can see is that the feature grid has to be regular.
mapelites_profiling.py
out:
Summary:
Impl: <class 'evotorch.algorithms.mapelites.RegularMAPElites'>
Time spent (secs): 0.46088290214538574
Filled hypervolumes: ReadOnlyTensor(1564)
Impl: <class 'evotorch.algorithms.mapelites.MAPElites'>
Time spent (secs): 38.28567409515381
Filled hypervolumes: ReadOnlyTensor(1523)