microsoft/archai

[BUG] Remove extra argument for EvolutionParetoSearch in tasks/text_generation/search.py

srikantvv opened this issue · 1 comments

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:

  1. cd tasks/text_generation
  2. python search.py
  3. 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'

Thanks for pointing out this bug! It has just been fixed with the latest commit.