Comments (3)
HI, 943fansi. In this work, we apply first level time window approach to have 'sequence' and then the 2nd level time window is considered to extract the segments from the sequence. I know this approach is somewhat confusing but this is necessary for the multi-head CNN-LSTM. (for further details, please check our paper, https://www.sciencedirect.com/science/article/pii/S1568494621003975)
In the 'network_training.py' file, you can check how i implement the network in TensorFlow-Kreas.
If you feel this is too complicated and want to avoid, then you can use either 1D-CNN (multi-channel) or LSTM, instead of the CNN-LSTM. In that case, you only need to consider a time window.
from enas-pdm.
Hi, mohyunho.Thanks for your reply. This reply does not contain any questions.
I debug the code ,the original input is 4d tensor ,(batch_szie, n_window, window_lenth, sensor_dim), For each head, the input shape is (batch_szie, n_window, window_lenth, 1),output shape is (batch_szie, n_window, 28), then merge as (batch_szie, n_window, 28*14) to be the input of lstm.
I am a novice in deep learning. I am not familiar with tensorflow and have encountered some difficulties.If it brings you some trouble, say sorry here.
Wish you a happy life.
from enas-pdm.
No problem at all. When you have any questions, please let me know.
from enas-pdm.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enas-pdm.