Commit a6553bb9 authored by xuehui's avatar xuehui
Browse files

Update hyperopt_tuner.py

parent d4c75d55
...@@ -51,7 +51,7 @@ INDEX = '_index' ...@@ -51,7 +51,7 @@ INDEX = '_index'
def json2space(in_x, name=ROOT): def json2space(in_x, name=ROOT):
''' '''
Change json to search space in hyperopt. Change json to search space in hyperopt.
''' '''
out_y = copy.deepcopy(in_x) out_y = copy.deepcopy(in_x)
if isinstance(in_x, dict): if isinstance(in_x, dict):
if TYPE in in_x.keys(): if TYPE in in_x.keys():
......
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