tensorflow-deep-learning icon indicating copy to clipboard operation
tensorflow-deep-learning copied to clipboard

Question about model 4 conv1d in notebook 10(time series prediction for bitcoin price)

Open tsinggggg opened this issue 3 years ago • 2 comments

This is the model summary in model 4

Model: "model_4_conv1D"
_________________________________________________________________
Layer (type)                 Output Shape              Param #   
=================================================================
lambda_1 (Lambda)            (None, 1, 7)              0         
_________________________________________________________________
conv1d (Conv1D)              (None, 1, 128)            4608      
_________________________________________________________________
dense_6 (Dense)              (None, 1, 1)              129       
=================================================================
Total params: 4,737
Trainable params: 4,737
Non-trainable params: 0

Don't we want input to conv1d layer have shape of (batch_size, timesteps(window size), input_dim) ?

tsinggggg avatar Dec 12 '22 03:12 tsinggggg

yes thats correct

Sreeram0303 avatar May 04 '25 10:05 Sreeram0303

Even i have the same doubt

Sreeram0303 avatar May 04 '25 10:05 Sreeram0303