Skip to content

Commit

Permalink
Fix smoke_testing
Browse files Browse the repository at this point in the history
  • Loading branch information
lixfz committed Jul 14, 2023
1 parent 6bd3f38 commit 613965e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hypernets/examples/smoke_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def run_search():
space_sample = searcher.sample()
assert space_sample.all_assigned == True
print(searcher.__class__.__name__, i, space_sample.params_summary())
searcher.update_result(space_sample, np.random.uniform(0.1, 0.9))
searcher.update_result(space_sample, [np.random.uniform(0.1, 0.9)])


if __name__ == '__main__':
Expand Down

0 comments on commit 613965e

Please sign in to comment.