Closed juanantoniobellido closed 2 years ago
Thanks for your question.
In the dataloader, I return the input to be from start_index : start_index + training_length and target to be from start_index + training_length : start_index + training_length + forecast_window.
During teacher forcing I am only predicting one upcoming value at a time. Thus the target is just the src shifted by 1.
I have found something which is weird to me. The code below can be found in "_train_teacherforcing.py" and "_train_withsampling.py"
As you can see, the target variable comes from _input, while the target from dataloader is lost in this assignment and not used anymore. Does it make sense?
Thank you very much in advance