automl / hydra-smac-sweeper

Sweeper plugin based on SMAC for Hydra.
Apache License 2.0
4 stars 1 forks source link

Improved error messages #11

Closed TheEimer closed 2 years ago

TheEimer commented 2 years ago

Due to an update, my old config structure isn't working anymore, but instead of showing that (or anything related to the plugin) as an error, hydra only provides this import error:

ImportError: Error instantiating 'hydra_plugins.hydra_smac_sweeper.smac_sweeper.SMACSweeper' : cannot import name 'apply' from 'dask.compatibility'

and then asks:

IS THE PLUGIN INSTALLED?

This makes troubleshooting pretty tedious and also made me triple check the installation instead of my config first. Maybe there is a way to actually show what the error is that keeps the sweeper from instantiating? I think that would make the error way less confusing and frustrating.