strcwearlab / deepconvlstm Goto Github PK
View Code? Open in Web Editor NEWDeep learning framework for wearable activity recognition based on convolutional and LSTM recurretn layers
Deep learning framework for wearable activity recognition based on convolutional and LSTM recurretn layers
Hi, I appreciate your job for HAR. I firstly read your paper and then google your DeepConvLSTM. I fork your repo, and want to reproduction your result. But there is some question I did not get you. In DeepConvLSTM.ipynb, why are you just slide window for test data, but not for traning data?
It is locate in
# Sensor data is segmented using a sliding window mechanism X_test, y_test = opp_sliding_window(X_test, y_test, SLIDING_WINDOW_LENGTH, SLIDING_WINDOW_STEP) print(" ..after sliding window (testing): inputs {0}, targets {1}".format(X_test.shape, y_test.shape))
I look forward to your reply. And I will give an acknowledgement in my paper for your help.
the function 'adjust_idx_labels' try to Transforms original labels into the range [0, nb_labels-1], in the file preprocess_data.py, but why to [0,nb_labels-1],not [1,nb_labels]? and now where is the class 0?
I'm now using the dataset to do sth ion the Torch,and there may be an error where 'Assertion t >= 0 && t < n_classes
failed'.
So I'm confused about the transform ,looking forward to your answer~
Hi:
I have reproduced your results for both training and testing.
I also appreciate your help with suggesting hyper-parameters for training.
One question I have is the use of the LSTM forget gate. In other sequence classifier implementations, I see the use a sequence marker to demarcate the start of a sequence. This is yet another input, in addition to the data input and the label input. The sequence marker is presumably used to erase the LSTM memory across sequences. This may be implicit in your network as it is assumed that all sequences in the batch are of the same length and the erasure is "automatic".
It would be very helpful to have your thoughts.
Thank you
Hi, thanks for your great job and now actually I take your paper as a reference, I have a doubt on the recurrent range, according your description, if I'm not getting wrong understanding, I think the recurrent range is within each sliding window, what if to do window level recurrent, could you give some idea about that?
Hi:
Your paper is exemplary in laying out the problem as a sequence-learning task and, to top it off, the accompanying "model deploy" script works!
I took a shot at the training script (attached). Being new to LSTMs and Lasagne, I could be missing many of the hyper-parameters that will recreate your model.
Could you please share your training script?
Alternately, could you kindly suggest improvements in the attached training script.
Thank you,
Auro
Why is SLIDING_WINDOW_LENGTH = 24 ?
In the paper, it is mentioned that the window is 500 milliseconds.
I don't see how setting the window length to be 24 ensures that its length is always 500 milliseconds.
Hi @fjordonez @sussexwearlab,
I am implementing the DeepConvLSTM code in Keras, I have got 89% f1 score for Task B( Gesture recognition with NULL class). But I am not getting expected f1 score in Task B (Gesture recognition WITHOUT NULL class). I have a few questions
For Gesture recognition WITHOUT NULL class, do we have to delete all the NULL class data and pass 17 in class number? But After deleting, the data is very less. so the f1 score is coming less
Or do we have to train the model on data with NULL class data and test it on data (after removing NULL class)
or any other method to increase f1 score in Task B (Gesture recognition WITHOUT NULL class)
Thankyou
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.