You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get a "Slice sampler shrank to zero!" error when using GPEIOptChooser. Am I using a grid size too small or something?
Traceback (most recent call last):
File "spearmint/spearmint-lite/spearmint-lite.py", line 219, in
main()
File "spearmint/spearmint-lite/spearmint-lite.py", line 84, in main
main_controller(options, args)
File "spearmint/spearmint-lite/spearmint-lite.py", line 190, in main_controller
np.nonzero(grid_idx == 0)[0])
File "/usr/local/lib/python2.7/dist-packages/chooser/GPEIOptChooser.py", line 257, in next
self.sample_hypers(comp, vals)
File "/usr/local/lib/python2.7/dist-packages/chooser/GPEIOptChooser.py", line 627, in sample_hypers
self._sample_ls(comp, vals)
File "/usr/local/lib/python2.7/dist-packages/chooser/GPEIOptChooser.py", line 643, in _sample_ls
self.ls = util.slice_sample(self.ls, logprob, compwise=True)
File "spearmint/spearmint/spearmint/util.py", line 87, in slice_sample
cur_x = direction_slice(direction, cur_x)
File "spearmint/spearmint/spearmint/util.py", line 69, in direction_slice
raise Exception("Slice sampler shrank to zero!")
Exception: Slice sampler shrank to zero!
Thank you very much!
Cui
The text was updated successfully, but these errors were encountered:
Hello,
I get a "Slice sampler shrank to zero!" error when using GPEIOptChooser. Am I using a grid size too small or something?
Traceback (most recent call last):
File "spearmint/spearmint-lite/spearmint-lite.py", line 219, in
main()
File "spearmint/spearmint-lite/spearmint-lite.py", line 84, in main
main_controller(options, args)
File "spearmint/spearmint-lite/spearmint-lite.py", line 190, in main_controller
np.nonzero(grid_idx == 0)[0])
File "/usr/local/lib/python2.7/dist-packages/chooser/GPEIOptChooser.py", line 257, in next
self.sample_hypers(comp, vals)
File "/usr/local/lib/python2.7/dist-packages/chooser/GPEIOptChooser.py", line 627, in sample_hypers
self._sample_ls(comp, vals)
File "/usr/local/lib/python2.7/dist-packages/chooser/GPEIOptChooser.py", line 643, in _sample_ls
self.ls = util.slice_sample(self.ls, logprob, compwise=True)
File "spearmint/spearmint/spearmint/util.py", line 87, in slice_sample
cur_x = direction_slice(direction, cur_x)
File "spearmint/spearmint/spearmint/util.py", line 69, in direction_slice
raise Exception("Slice sampler shrank to zero!")
Exception: Slice sampler shrank to zero!
Thank you very much!
Cui
The text was updated successfully, but these errors were encountered: