Open ashi24lion opened 5 years ago
I 'm at the same position
So do I. But how to deal with it?
Me too
so do I
I have the same problem, using windows 10 and numba 0.45.1, any ideas on how to solve it?
LoweringError: Operands must be the same type, got (i64, i32)
Same error here ! Is there a a way to patch this ? Seem to come from the L_ parameter (Window size)
I showed a solution that worked for me in another issue, hope it works for all of you as well.
https://github.com/kieferk/pymssa/issues/9#issuecomment-543118953
Constructing trajectory matrix Trajectory matrix shape: (1600, 801) Decomposing trajectory covariance matrix with SVD Constructing components
ValueError Traceback (most recent call last) ~\Anaconda3\lib\site-packages\numba\errors.py in new_errorcontext(fmt, *args, **kwargs) 490 try: --> 491 yield 492 except NumbaError as e:
~\Anaconda3\lib\site-packages\numba\lowering.py in lowerblock(self, block) 215 loc=self.loc, errcls=defaulterrcls): --> 216 self.lower_inst(inst) 217
~\Anaconda3\lib\site-packages\numba\lowering.py in lower_inst(self, inst) 264 ty = self.typeof(inst.target.name) --> 265 val = self.lower_assign(ty, inst) 266 self.storevar(val, inst.target.name)
~\Anaconda3\lib\site-packages\numba\lowering.py in lower_assign(self, ty, inst) 410 elif isinstance(value, ir.Expr): --> 411 return self.lower_expr(ty, value) 412
~\Anaconda3\lib\site-packages\numba\lowering.py in lower_expr(self, resty, expr) 742 elif expr.op == 'call': --> 743 res = self.lower_call(resty, expr) 744 return res
~\Anaconda3\lib\site-packages\numba\lowering.py in lower_call(self, resty, expr) 708 --> 709 res = impl(self.builder, argvals) 710
~\Anaconda3\lib\site-packages\numba\targets\base.py in call(self, builder, args) 1042 def call(self, builder, args): -> 1043 return self._imp(self._context, builder, self._sig, args) 1044
~\Anaconda3\lib\site-packages\numba\targets\arrayobj.py in numpy_zeros_nd(context, builder, sig, args) 3260 arrtype, shapes = _parse_empty_args(context, builder, sig, args) -> 3261 ary = _empty_nd_impl(context, builder, arrtype, shapes) 3262 _zero_fill_array(context, builder, ary)
~\Anaconda3\lib\site-packages\numba\targets\arrayobj.py in _empty_nd_impl(context, builder, arrtype, shapes) 3147 for s in shapes: -> 3148 arrlen = builder.mul(arrlen, s) 3149
~\Anaconda3\lib\site-packages\llvmlite\ir\builder.py in wrapped(self, lhs, rhs, name, flags) 23 raise ValueError("Operands must be the same type, got (%s, %s)" ---> 24 % (lhs.type, rhs.type)) 25 instr = cls(self.block, lhs.type, opname, (lhs, rhs), name, flags)
ValueError: Operands must be the same type, got (i64, i32)
During handling of the above exception, another exception occurred:
LoweringError Traceback (most recent call last)