automl / nasbench301

Apache License 2.0
75 stars 22 forks source link

`OptimizerSelector:sgd:weight_decay` incorrect configuration makes loading fail #22

Open tomaz-suller opened 3 months ago

tomaz-suller commented 3 months ago

https://github.com/automl/nasbench301/blob/61c670e60512abc14aa472da18bb8d5b985f95e0/nasbench301/configspace.json#L244-L251

When trying to execute nasbench301/example.py, I get the following error:

TypeError: NormalFloatHyperparameter.__init__() missing 2 required positional arguments: 'lower' and 'upper'

After some time in the debugger, I found out the issue is in the OptimizerSelector:sgd:weight_decay parameter, which indeed does not have these required attributes, but rather two other (mu and sigma). Should they just be replaced with lower and upper? If not, how should we address this issue?

I tried installing nasbench301 for use in NASLib but this error also appears when trying to load the API from NASLib (as expected since this library isn't working properly).