Help to solve errors
MuhammadTalmeez337 opened this issue · comments
Hi sir, I am running your project and I am facing these errors. Can you help me? I would be very thankful to you. Thanks
Traceback (most recent call last):
File "example.py", line 10, in detector.run()
File "C:\Users\Muhammad Talmeez\telemanom\telemanom\detector.py", line 210, in run errors.process_batches(channel)
File "C:\Users\Muhammad Talmeez\telemanom\telemanom\errors.py", line 141, in process_batches window.prune_anoms()
File "C:\Users\Muhammad Talmeez\telemanom\telemanom\errors.py", line 418, in prune_anoms
E_seq = np.delete(E_seq, i_to_remove, axis=0)
File "<array_function internals>", line 5, in delete
File "C:\Users\Muhammad Talmeez\AppData\Local\Programs\Python\Python38\lib\site-packages\numpy\lib\function_base.py", line 4406, in delete
keep[obj,] = False
IndexError: arrays used as indices must be of integer (or boolean) type
I met with the same problem, have you solved it?
No sir, I am still stuck.
I consider that it may be caused by the uncorrected version of numpy. After installing numpy-1.17.4, the issue disappeared.
Thanks @ZhouHnag. @MuhammadTalmeez337 let me know if this resolves your issue and I will close.
Thanks @ZhouHnag. @MuhammadTalmeez337 let me know if this resolves your issue and I will close.
I did not try this yet but I think if @ZhouHnag solved this. I will also solve this. So @khundman