You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two variables called timesteps and nosamples which I am hyper tuning apart from others. And my input shape to the model depends on these two values. Hence, for every new pair of values of these, I have to change the shape of my training data and its label. To overcome this issue, I get the training data and its label inside build_model() and return them along with the model.
I have two variables called
timesteps
andnosamples
which I am hyper tuning apart from others. And my input shape to the model depends on these two values. Hence, for every new pair of values of these, I have to change the shape of my training data and its label. To overcome this issue, I get the training data and its label insidebuild_model()
and return them along with the model.I am providing
train
andtrain_label
tomodel.fit()
this wayI know the best way to tune
batch_size
is this, but I couldn't understand how to use it fortrain
andtrain_label
.The method I employed is working fine but I think there is a more efficient way to do the same that I don't know. Any help would be welcome.
Thanks for the patience to read till here.
The text was updated successfully, but these errors were encountered: