Unverified Commit 1c22c766 authored by xuehui's avatar xuehui Committed by GitHub
Browse files

Quickly fix cascading search space bug in tuner (#156)

* update readme in ga_squad

* update readme

* fix typo

* Update README.md

* Update README.md

* Update README.md

* update readme

* quickly fix cascading searchspace bug in tuner
parent 10d51b43
...@@ -127,7 +127,7 @@ def json2vals(in_x, vals, out_y, name=ROOT): ...@@ -127,7 +127,7 @@ def json2vals(in_x, vals, out_y, name=ROOT):
json2vals(in_x[key], vals[key], out_y, name + '[%s]' % str(key)) json2vals(in_x[key], vals[key], out_y, name + '[%s]' % str(key))
elif isinstance(in_x, list): elif isinstance(in_x, list):
for i, temp in enumerate(in_x): for i, temp in enumerate(in_x):
json2vals(i, vals[temp], out_y, name + '[%d]' % temp) json2vals(temp, vals[i], out_y, name + '[%d]' % i)
def _split_index(params): def _split_index(params):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment