Closed mpaszkow closed 2 years ago
The BeamSearch class is not implemented in the terminator/search.py module, but it's imported in the terminator/evaluator.py file and used by the Evaluator class. Any attempt to import the Evaluator (e.g. in terminator/trainer.py) leads to an error:
ImportError: cannot import name 'BeamSearch' from 'terminator.search' (search.py)
Hi @mpaszkow, Thanks for the interest in our work. You're totally right, my bad. I will create a PR to fix this!
The BeamSearch class is not implemented in the terminator/search.py module, but it's imported in the terminator/evaluator.py file and used by the Evaluator class. Any attempt to import the Evaluator (e.g. in terminator/trainer.py) leads to an error:
ImportError: cannot import name 'BeamSearch' from 'terminator.search' (search.py)