-
Notifications
You must be signed in to change notification settings - Fork 631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validation Data is not generated properly for my dataset #1
Comments
Please help me how to use the attached dataset through the forecasting library.
|
The first error is due to an unfortunate default in the The second error is a genuine error (1 off error) which I just fixed. Thanks for bringing this to my attention! The fix is pushed to master, so installing from git should do the job. |
Thanks Man! Really appreciate your work. Got another error after predict=False
Thanks Again |
This is probably due to only having a single timeseries in the dataset. I will have a closer look later or on the weekend. You could probably run with |
Yeah, For Now I commented out just the interpretation part because i would like to be able to see prediction outputs in tensorboard. But I found an issue in the visualisation. |
Sorry for taking a bit of time. The plotting functionality is not broken. However, I think there are two issues here:
I am working on this normalization so you do not have to take care of it manually. |
Thanks, I am not normalising manually. I read the code and i saw you are already normalising them. But while plotting its plotting like above. Actually when i printed the x["encoder_target"][0], x["decoder_target"][0] I found those values to be not normalised
This is what gets printed
The scale of the values is wrong here I believe its happening due to "target" being saved non scaled in the dataframe?? See the batch :
|
Also please try to fix the issue : #1 (comment) |
Give it another try. I fixed a couple of issues including target normalization. Keep in mind that the strength of the algorithm is forecasting multiple timeseries. |
I fixed some issues in 0.2.1 for GPU support. |
Closing this as there were numerous fixed to the package - thanks again for reporting this issue! Please feel encouraged to raise a new issue in case you encounter any bugs. |
Hi, Really appreciate your work on the TFT.
I am trying to use my own dataset in the code but there seems to be a bug due to which the dataset is not being loaded properly for validation.
The train dataloader is good. but the validation dataloader only has one batch and also validation(TimeSeriesDataSet) has only 1 entry.
Below is my complete code
This is what gets printed by the code :
You can see that the training dataset is good and the batches are also okay but validation batch is also 1 and dataset length is also 1.
One more thing. if i use predict = False it generates validation data correctly but another bug arises due to that.
if i use predict = True, only 1 batch and 1 sequence is given
if i use predict_mode = true on the training dataset it also generates only 1 batch.
Here is a sample of my CSV
sample_data.csv.zip
Please Help
The text was updated successfully, but these errors were encountered: