neps
neps copied to clipboard
Somehow let users catch errors in function evaluations
Basically, this part squeezes errors caused in function evaluations, so it is hard to debug.
https://github.com/automl/neps/blob/master/src/metahyper/api.py#L403-L451
I don't know what version and code was doing that but the error handling has gotten a lot better recently and now actually shows you errors that happened. You can always put a try: catch:
in the target function and report back the values you would like to.
However, the try: catch
was possible before, was there something else you meant?