OpenEA icon indicating copy to clipboard operation
OpenEA copied to clipboard

NameError: name 'exit' is not defined

Open john012343210 opened this issue 3 years ago • 3 comments

https://github.com/nju-websoft/OpenEA/blob/003ae4af5df0d1f38646ef74b74a1f71e80c7c93/src/openea/modules/train/batch.py#L14

exit is not defined

john012343210 avatar Jan 26 '21 18:01 john012343210

Hi,

Thanks for your interest in our work. Could you please provide more information about this issue? I did not experience the problem in my tests.

sunzequn avatar Feb 07 '21 07:02 sunzequn

@sunzequn exit is not defined in that python file, so this error will be raised.

john012343210 avatar Feb 12 '21 11:02 john012343210

the file is "openea.modules.train.batch", it includes "exit(0)" "from sys import exit" might be a solution

gladdduck avatar Oct 22 '22 08:10 gladdduck