microsoft / nni

An open source AutoML toolkit for automate machine learning lifecycle, including feature engineering, neural architecture search, model compression and hyper-parameter tuning.
https://nni.readthedocs.io
MIT License
14.06k stars 1.82k forks source link

How to display error messages #5800

Open ayachi3 opened 3 months ago

ayachi3 commented 3 months ago

When I encounter some errors, the process will exit without giving me any information. Actually, it is common to have some bugs in my code, but after experiment.run(port=8080, wait_completion=False,debug=True) the new process will not print my debug info onto the terminal. For example, if I read a non-existent file, the process will fail sliently, and I have to gauss what has happened. I attempt to read " https://github.com/microsoft/nni/blob/master/docs/en_US/Tutorial/HowToDebug.md " but the file does't exist.

当使用nni运行带有bug的代码时,似乎nni会跳过此次trail,并且不报告错误在何处。例如我读取数据的路径出现了错误,在nni的终端里并不会报告此错误。 此外, " https://github.com/microsoft/nni/blob/master/docs/en_US/Tutorial/HowToDebug.md " 也无法打开。 Environment:

Configuration:

Log message:

How to reproduce it?: You can make a bug deliberatly, and you will see that nothing about the bug is reported.