Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help to solve errors #66

Closed
MuhammadTalmeez337 opened this issue Nov 17, 2021 · 6 comments
Closed

Help to solve errors #66

MuhammadTalmeez337 opened this issue Nov 17, 2021 · 6 comments

Comments

@MuhammadTalmeez337
Copy link

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

@ZhouHnag
Copy link

I met with the same problem, have you solved it?

@MuhammadTalmeez337
Copy link
Author

No sir, I am still stuck.

@ZhouHnag
Copy link

I consider that it may be caused by the uncorrected version of numpy. After installing numpy-1.17.4, the issue disappeared.

@khundman
Copy link
Owner

Thanks @ZhouHnag. @MuhammadTalmeez337 let me know if this resolves your issue and I will close.

@MuhammadTalmeez337
Copy link
Author

MuhammadTalmeez337 commented Dec 28, 2021

I did not try this yet but I think if @ZhouHnag solved this. I can also solve this. sir @khundman you can close this. Thanks

@MuhammadTalmeez337
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants