GithubHelp home page GithubHelp logo

deep-learning-for-human-activity-recognition's Issues

TypeError: slice indices must be integers or None or have an __index__ method

I got this error when i run the CNN file by gait dataset

segmenting signal...
Traceback (most recent call last):
File "C:\Users\ADMIN\gaitdap\ModelCreation\CNN\cnn1d.py", line 209, in
train_x, train_y = segment_dap(x_train,y_train,input_width)
File "C:\Users\ADMIN\gaitdap\ModelCreation\CNN\cnn1d.py", line 63, in segment_dap
if(int(len(x_train[start:end])) == window_size):
TypeError: slice indices must be integers or None or have an index method

please tell me how to solve it

Opportunity dataset splitting

hey,

why did u go for ['S2-ADL3.dat', 'S2-ADL4.dat','S3-ADL3.dat', 'S3-ADL4.dat'] as testing set in the opportunity dataset?
why not replicate the challenge - which would be 'S2-ADL4','S2-ADL5','S3-ADL4','S3-ADL5'

besides: if I remember correctly, subject 4 data has induced noise.

Cheers

PAMAP2 labels being appended to inputs

Hello,
I believe you are appending the labels in the input data for the PAMAP2 dataset.
Lines 143 and 144 of the datareader.py file.
Cheers,
Enrique Marquez

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.