JulesBelveze / time-series-autoencoder

PyTorch Dual-Attention LSTM-Autoencoder For Multivariate Time Series
Apache License 2.0
614 stars 63 forks source link

y_hist #24

Closed yzthhjq closed 2 years ago

yzthhjq commented 2 years ago

How do I get y_hist when I try to run this model in real time

JulesBelveze commented 2 years ago

Hey @yzthhjq! If you use the DataLoaders created by TimeSeriesDataset object then every batch is of the form:

feature, y_hist, target = batch

Does this answer your question?

JulesBelveze commented 2 years ago

Closing this for inactivity. Feel free to reopen it if needed.