mirror of
https://github.com/microsoft/autogen.git
synced 2025-11-03 19:29:52 +00:00
Fix bug in NNI tuner (#34)
* fix bug in nni tuner * Update version.py Co-authored-by: liuzhe <zhe.liu@microsoft.com> Co-authored-by: Chi Wang <wang.chi@microsoft.com>
This commit is contained in:
parent
1560a6e52a
commit
840e3fc104
@ -426,7 +426,7 @@ try:
|
||||
from ray.tune import (uniform, quniform, choice, randint, qrandint, randn,
|
||||
qrandn, loguniform, qloguniform)
|
||||
except:
|
||||
from .sample import (uniform, quniform, choice, randint, qrandint, randn,
|
||||
from ..tune.sample import (uniform, quniform, choice, randint, qrandint, randn,
|
||||
qrandn, loguniform, qloguniform)
|
||||
|
||||
class BlendSearchTuner(BlendSearch, NNITuner):
|
||||
@ -470,7 +470,7 @@ try:
|
||||
search_space: JSON object created by experiment owner
|
||||
'''
|
||||
config = {}
|
||||
for key, value in search_space:
|
||||
for key, value in search_space.items():
|
||||
v = value.get("_value")
|
||||
_type = value['_type']
|
||||
if _type == 'choice':
|
||||
|
||||
@ -1 +1 @@
|
||||
__version__ = "0.2.7"
|
||||
__version__ = "0.2.8"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user