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
{{ message }}
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.
Object.keys(customized).map(item=>{
.......// the item(optimizer/learning_rate) is not in the keys of searchSpace using BatchTuner.// search space: {"combine_params": xxxxxxx}if(searchSpace[item]._type==='choice'){if(searchSpace[item]._value.find((val: string|number)=>val===customized[item])===undefined){flag=true;return;}}else{if(customized[item]<searchSpace[item]._value[0]||customized[item]>searchSpace[item]._value[1]){flag=true;return;}}}});
nni/src/sdk/pynni/nni/batch_tuner/batch_tuner.py
defis_valid(self, search_space):
.......
# the key: combine_params is removedifisinstance(search_space[param][VALUE], list):
returnsearch_space[param][VALUE]
defgenerate_parameters(self, parameter_id, **kwargs):
......
returnself._values[self._count]
An imperfect solution is as follow. But this solution can not check whether the customized setting is in existing search space when you use BatchTuner
nni/src/webui/src/components/Modal/CustomizedTrial.tsx
nni/src/sdk/pynni/nni/batch_tuner/batch_tuner.py
An imperfect solution is as follow. But this solution can not check whether the customized setting is in existing search space when you use BatchTuner
The text was updated successfully, but these errors were encountered: