[BUG] Remove extra argument for EvolutionParetoSearch in tasks/text_generation/search.py
srikantvv opened this issue · 1 comments
srikantvv commented
Bug description
tasks/text_generation/search.py#L129 has an extra argument "None" which is not required in archai/discrete_search/algos/evolution_pareto.py#L32
To Reproduce
Steps to reproduce the behavior:
- cd tasks/text_generation
- python search.py
- See error:
Traceback (most recent call last):
File "./search.py", line 126, in
algo = EvolutionParetoSearch(
TypeError: init() got multiple values for argument 'num_iters'
Possible Fix
Remove the 'None'
gugarosa commented
Thanks for pointing out this bug! It has just been fixed with the latest commit.