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

Error #3

Open
jrvmalik opened this issue Nov 26, 2019 · 1 comment
Open

Error #3

jrvmalik opened this issue Nov 26, 2019 · 1 comment

Comments

@jrvmalik
Copy link

Hi Sajad

I get the following error when running the code.

Traceback (most recent call last):
  File "seq_seq_annot_DS1DS2.py", line 441, in <module>
    main()
  File "seq_seq_annot_DS1DS2.py", line 226, in main
    run_program(args)
  File "seq_seq_annot_DS1DS2.py", line 242, in run_program
    X_train, y_train = read_mitbih(filename, max_time, classes=classes, max_nlabel=50000,trainset=1)
  File "seq_seq_annot_DS1DS2.py", line 78, in read_mitbih
    data = _data[:(len(_data)/ max_time) * max_time, :]
TypeError: slice indices must be integers or None or have an __index__ method
@MousaviSajad
Copy link
Owner

MousaviSajad commented Nov 26, 2019 via email

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

2 participants