Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

fix bug in smac search space convert #940

Merged
merged 2 commits into from
Apr 1, 2019

Conversation

QuanluZhang
Copy link
Contributor

@QuanluZhang QuanluZhang commented Mar 29, 2019

fix the bug:
Traceback (most recent call last):
File "/data/anaconda/envs/reco_base/lib/python3.6/site-packages/nni/main.py", line 189, in main
dispatcher.run()
File "/data/anaconda/envs/reco_base/lib/python3.6/site-packages/nni/msg_dispatcher_base.py", line 63, in run
self.handle_request((command, data))
File "/data/anaconda/envs/reco_base/lib/python3.6/site-packages/nni/msg_dispatcher_base.py", line 105, in handle_request
return command_handlerscommand
File "/data/anaconda/envs/reco_base/lib/python3.6/site-packages/nni/msg_dispatcher.py", line 101, in handle_request_trial_jobs
params_list = self.tuner.generate_multiple_parameters(ids)
File "/data/anaconda/envs/reco_base/lib/python3.6/site-packages/nni/smac_tuner/smac_tuner.py", line 262, in generate_multiple_parameters
params.append(self.convert_loguniform_categorical(challenger.get_dictionary()))
File "/data/anaconda/envs/reco_base/lib/python3.6/site-packages/nni/smac_tuner/smac_tuner.py", line 205, in convert_loguniform_categorical
challenger_dict[key] = self.categorical_dict[key][idx]
IndexError: list index out of range
[2019-03-27 13:55:14] PRINT ERROR: list index out of range

@yds05 yds05 merged commit c49c24c into microsoft:v0.6 Apr 1, 2019
@QuanluZhang QuanluZhang deleted the fix-smac-convert branch February 20, 2020 13:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants