You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm facing a datatype issue when running jobs from the GraSH CLI. Specifically, when reading in config files, I am given the following error:
line 42, in get_configspace
CSH.UniformFloatHyperparameter(
File "ConfigSpace/hyperparameters/uniform_float.pyx", line 62, in ConfigSpace.hyperparameters.uniform_float.UniformFloatHyperparameter.init
File "ConfigSpace/hyperparameters/uniform_float.pyx", line 124, in ConfigSpace.hyperparameters.uniform_float.UniformFloatHyperparameter.check_default
TypeError: Expected float, got numpy.float64
This comes from the LR bounds, which I have as follows in my config yaml:
parameters:
bounds:
0.0003
1.0
log_scale: true
name: train.optimizer_args.lr
type: range
My environment is as described below, using two gpus for shared compute:
Hi,
I am sorry for the very late reply, I just saw your Issue now. I suppose the issue lies in the numpy version.
Around version 1.25 or so they changed something data type related.
I fixed the setup script so that it should install dependencies correctly now:
Hello,
I'm facing a datatype issue when running jobs from the GraSH CLI. Specifically, when reading in config files, I am given the following error:
line 42, in get_configspace
CSH.UniformFloatHyperparameter(
File "ConfigSpace/hyperparameters/uniform_float.pyx", line 62, in ConfigSpace.hyperparameters.uniform_float.UniformFloatHyperparameter.init
File "ConfigSpace/hyperparameters/uniform_float.pyx", line 124, in ConfigSpace.hyperparameters.uniform_float.UniformFloatHyperparameter.check_default
TypeError: Expected float, got numpy.float64
This comes from the LR bounds, which I have as follows in my config yaml:
parameters:
log_scale: true
name: train.optimizer_args.lr
type: range
My environment is as described below, using two gpus for shared compute:
name: kge
channels:
dependencies:
prefix: /home/alexander-kalinowski/miniforge3/envs/kge
Is there a quick fix I can use to get around this? I have tried to directly cast the relevant hyperparameters to floats with no luck.
The text was updated successfully, but these errors were encountered: