Open taltekte opened 4 years ago
All messege was
ValueError Traceback (most recent call last) C:\ProgramData\Anaconda3\lib\site-packages\numba\errors.py in new_errorcontext(fmt, *args, **kwargs) 661 try: --> 662 yield 663 except NumbaError as e:
C:\ProgramData\Anaconda3\lib\site-packages\numba\lowering.py in lowerblock(self, block) 257 loc=self.loc, errcls=defaulterrcls): --> 258 self.lower_inst(inst) 259
C:\ProgramData\Anaconda3\lib\site-packages\numba\lowering.py in lower_inst(self, inst) 300 ty = self.typeof(inst.target.name) --> 301 val = self.lower_assign(ty, inst) 302 self.storevar(val, inst.target.name)
C:\ProgramData\Anaconda3\lib\site-packages\numba\lowering.py in lower_assign(self, ty, inst) 458 elif isinstance(value, ir.Expr): --> 459 return self.lower_expr(ty, value) 460
C:\ProgramData\Anaconda3\lib\site-packages\numba\lowering.py in lower_expr(self, resty, expr) 918 elif expr.op == 'call': --> 919 res = self.lower_call(resty, expr) 920 return res
C:\ProgramData\Anaconda3\lib\site-packages\numba\lowering.py in lower_call(self, resty, expr) 710 else: --> 711 res = self._lower_call_normal(fnty, expr, signature) 712
C:\ProgramData\Anaconda3\lib\site-packages\numba\lowering.py in _lower_call_normal(self, fnty, expr, signature) 889 --> 890 res = impl(self.builder, argvals, self.loc) 891 return res
C:\ProgramData\Anaconda3\lib\site-packages\numba\targets\base.py in call(self, builder, args, loc) 1131 def call(self, builder, args, loc=None): -> 1132 res = self._imp(self._context, builder, self._sig, args, loc=loc) 1133 self._context.add_linking_libs(getattr(self, 'libs', ()))
C:\ProgramData\Anaconda3\lib\site-packages\numba\targets\base.py in wrapper(*args, *kwargs) 1156 kwargs.pop('loc') # drop unused loc -> 1157 return fn(args, **kwargs) 1158
C:\ProgramData\Anaconda3\lib\site-packages\numba\targets\arrayobj.py in numpy_zeros_nd(context, builder, sig, args) 3373 arrtype, shapes = _parse_empty_args(context, builder, sig, args) -> 3374 ary = _empty_nd_impl(context, builder, arrtype, shapes) 3375 _zero_fill_array(context, builder, ary)
C:\ProgramData\Anaconda3\lib\site-packages\numba\targets\arrayobj.py in _empty_nd_impl(context, builder, arrtype, shapes) 3260 for s in shapes: -> 3261 arrlen = builder.mul(arrlen, s) 3262
C:\ProgramData\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)
I have the same problem
I am trying to run this lib on Anaconda on Windows 10. After I am run code, it stoped on mssa.fit(wine_tr.to_numpy()[:500])
LoweringError: Failed in nopython mode pipeline (step: nopython mode backend) Operands must be the same type, got (i64, i32)
File "..........\ProgramData\Anaconda3\lib\site-packages\pymssa-0.1.0-py3.7.egg\pymssa\optimized.py", line 226: def incremental_component_reconstruction(trajectory_matrix,