automl / neps

Neural Pipeline Search (NePS): Helps deep learning experts find the best neural pipeline.
https://automl.github.io/neps/
Apache License 2.0
53 stars 13 forks source link

Somehow let users catch errors in function evaluations #16

Open nabenabe0928 opened 1 year ago

nabenabe0928 commented 1 year ago

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

eddiebergman commented 2 months ago

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?