Python Forum
keras tensor mainpulation output to next input
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
keras tensor mainpulation output to next input
#1
Hi,
Since 2 week, I try to merge a dense layer output to a LSTM input to create a kind of auto-feed ML (today forcast is add to tomorrow input)

the code for the moment is:

main_inputs = Input(shape=(30, 6))
lstm1_out = LSTM(100, return_sequences=False)(main_inputs)
output1= Dense(1)(lstm1_out)

[b]output1_mod = something to modify an fit output to nest LSTM input.... [/b]

merge_input = K.concatenate([main_inputs, output1_mod],2)
lstm2_out = LSTM(100, return_sequences=False)(merge_input)
finaloutput= Dense(1)(lstm2_out)
...
here a picture of what I try to do...
─░mage


Thank so much for your attention...
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Understanding Keras and TensorFlow and how to use them bytecrunch 1 457 Mar-11-2021, 02:40 PM
Last Post: jefsummers
  Problems feeding live input from my microphone into a keras model (SegFault: 11) zeptozetta 1 774 Sep-14-2020, 03:08 AM
Last Post: zeptozetta
  Keras.Predict into Dataframe Finpyth 13 2,551 Aug-31-2020, 07:22 AM
Last Post: hussainmujtaba
  Making a Basic Keras Model - Input Shape and Parameters MattKahn13 0 714 Aug-16-2020, 04:36 PM
Last Post: MattKahn13
  Error when import Keras Azadfalah 1 725 Apr-29-2020, 04:45 AM
Last Post: buran
  Keras + Matplotlib causing crash spearced 3 1,706 Feb-06-2020, 04:54 PM
Last Post: zljt3216
  Keras Dense layer with wrong input d1r4c 0 596 Jan-02-2020, 02:35 PM
Last Post: d1r4c
  Executing Scipy Tensor Product John_Doe 1 885 Dec-06-2019, 10:28 AM
Last Post: paul18fr
  Keras: Time series classification midarq 0 887 Sep-25-2019, 09:03 AM
Last Post: midarq
  Keras. ModuleNotFoundError: No module named 'error' agatte 1 4,103 Sep-18-2019, 12:27 PM
Last Post: shivani

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020