Traceback (most recent call last):


 "complex.py", line 77, in <module>

trials=Trials())


 "/usr/local/lib/python2.7/dist-packages/hyperas/optim.py", line 67, in minimize

verbose=verbose)


 "/usr/local/lib/python2.7/dist-packages/hyperas/optim.py", line 136, in base_minimizer

return_argmin=True),


 "/usr/local/lib/python2.7/dist-packages/hyperopt/fmin.py", line 307, in fmin

return_argmin=return_argmin,


 "/usr/local/lib/python2.7/dist-packages/hyperopt/base.py", line 635, in fmin

return_argmin=return_argmin)


 "/usr/local/lib/python2.7/dist-packages/hyperopt/fmin.py", line 314, in fmin

pass_expr_memo_ctrl=pass_expr_memo_ctrl)


 "/usr/local/lib/python2.7/dist-packages/hyperopt/base.py", line 786, in __init__

pyll.toposort(self.expr)


 "/usr/local/lib/python2.7/dist-packages/hyperopt/pyll/base.py", line 715, in toposort

assert order[-1] == expr
TypeError: 'generator' object has no attribute '__getitem__'

Traceback (most recent call last):


 "/usr/lib/python3.5/multiprocessing/process.py", line 249, in _bootstrap

self.run()


 "/usr/lib/python3.5/multiprocessing/process.py", line 93, in run

self._target(*self._args, **self._kwargs)


 "/usr/lib/python3.5/multiprocessing/pool.py", line 108, in worker

task = get()


 "/usr/local/lib/python3.5/dist-packages/joblib/pool.py", line 362, in get

return recv()


 "/usr/lib/python3.5/multiprocessing/connection.py", line 251, in recv

return ForkingPickler.loads(buf.getbuffer())


 "/usr/local/lib/python3.5/dist-packages/theano/compile/function_module.py", line 1082, in _constructor_Function

f = maker.create(input_storage, trustme=True)


 "/usr/local/lib/python3.5/dist-packages/theano/compile/function_module.py", line 1715, in create

input_storage=input_storage_lists, storage_map=storage_map)


 "/usr/local/lib/python3.5/dist-packages/theano/gof/link.py", line 699, in make_thunk

storage_map=storage_map)[:3]


 "/usr/local/lib/python3.5/dist-packages/theano/gof/vm.py", line 1084, in make_all

impl=impl))


 "/usr/local/lib/python3.5/dist-packages/theano/gof/op.py", line 955, in make_thunk

no_recycling)


 "/usr/local/lib/python3.5/dist-packages/theano/gof/op.py", line 833, in make_c_thunk

e = FunctionGraph(node.inputs, node.outputs)


 "/usr/local/lib/python3.5/dist-packages/theano/gof/fg.py", line 137, in __init__

inputs, outputs = graph.clone(inputs, outputs)


 "/usr/local/lib/python3.5/dist-packages/theano/gof/graph.py", line 862, in clone

equiv = clone_get_equiv(i, o, copy_inputs, copy_orphans)


 "/usr/local/lib/python3.5/dist-packages/theano/gof/graph.py", line 899, in clone_get_equiv

cpy = input.clone()


 "/usr/local/lib/python3.5/dist-packages/theano/gof/graph.py", line 607, in clone

cp = self.__class__(self.type, self.data, self.name)


 "/usr/local/lib/python3.5/dist-packages/theano/tensor/var.py", line 961, in __init__

Constant.__init__(self, type, data, name)


 "/usr/local/lib/python3.5/dist-packages/theano/gof/graph.py", line 579, in __init__

self.data = type.filter(data)


 "/usr/local/lib/python3.5/dist-packages/theano/tensor/type.py", line 189, in filter

"object dtype", data.dtype)
TypeError: ('The following error happened while compiling the node', Elemwise{Composite{(i0 - (i1 + (i2 * i3) + (i4 * i5) + (i6 * i3) + i7))}}[(0, 1)](TensorConstant{[999. 899...299. 299.]}, AdvancedSubtensor1.0, AdvancedSubtensor1.0, TensorConstant{[
31.
5..04.
794.]}, AdvancedSubtensor1.0, TensorConstant{[
961.
... -24924.]}, AdvancedSubtensor1.0, InplaceDimShuffle{x}.0), '\n', 'The numpy.ndarray object is not aligned. Theano C code does not support that.', 'object buffer<memory at 0x7f13bb452888>', 'object shape', (2935849,), 'object strides', (8,), 'object dtype', dtype('float64'))
