iantangc / contrastivelearninghar Goto Github PK
View Code? Open in Web Editor NEWContrastive Learning (SimCLR) for Human Activity Recognition
License: GNU General Public License v3.0
Contrastive Learning (SimCLR) for Human Activity Recognition
License: GNU General Public License v3.0
Hi,
Thank you so much for sharing the excellent work! I'm now also trying to see the effectiveness of SimCLR on HAR data, and want to discuss it with you.
Since we can output KL divergence of t-sne result to see the network feature space, I try to output the t-sne results at each pretraining epoch (the SimCLR head) using your plot function. However, the feature space doesn't change a lot.
If I understood correctly, the KL divergence is supposed to be smaller after many epochs, because the SimCLR is supposed to learn good features for different activities. However, as the SimCLR loss got smaller, the latent feature didn't get better. Did you have some idea about this problem?
Thank you very much for your help!
Best
Cassie
I've observed a bug in this function - if n_windows = 1
due to a large window size, then np.squeeze will make user_dataset_windowed[user_id][0]
a number with dimension 0 rather than a numpy array, and that will break the preprocessing script.
Hello, I noticed that in your paper you mentioned the reproduction of multi-task self-supervised Learning for Human Activity Detection.
Could you share the code of this part?
作者你好,请问一下你的对比学习模型的初始参数是在哪个数据集上训练的。如 SimCLR中的预训练参数是使用ResNet在ImageNet上训练的。
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.