Bottom Page

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...
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Error when import Keras Azadfalah 1 275 Apr-29-2020, 04:45 AM
Last Post: buran
  Keras.Predict into Dataframe Finpyth 12 616 Mar-15-2020, 06:22 PM
Last Post: Finpyth
  Keras + Matplotlib causing crash spearced 3 983 Feb-06-2020, 04:54 PM
Last Post: zljt3216
  Keras Dense layer with wrong input d1r4c 0 259 Jan-02-2020, 02:35 PM
Last Post: d1r4c
  Executing Scipy Tensor Product John_Doe 1 366 Dec-06-2019, 10:28 AM
Last Post: paul18fr
  Keras: Time series classification midarq 0 450 Sep-25-2019, 09:03 AM
Last Post: midarq
  Keras. ModuleNotFoundError: No module named 'error' agatte 1 3,267 Sep-18-2019, 12:27 PM
Last Post: shivani
  Install tensor flow for Python 2.7 in Windows 10 ErnestTBass 4 1,765 Jul-26-2019, 02:11 PM
Last Post: ThomasL
  Keras Target Problem inco 1 1,039 May-05-2019, 10:47 AM
Last Post: scidam
  Can you help me with this error? IndexError: invalid index of a 0-dim tensor. DerBerliner 1 1,569 Feb-28-2019, 05:47 PM
Last Post: Larz60+

Forum Jump:


Users browsing this thread: 1 Guest(s)