tft unable to set target to a list of strings (multiple targets)
See original GitHub issue- PyTorch-Forecasting version: 0.8.5
- PyTorch version: 1.8.1
- Python version: 3.8.10
- Operating System: linux 3.10.0-1160.25.1.el7.x86_64
according to doc: https://pytorch-forecasting.readthedocs.io/en/latest/api/pytorch_forecasting.data.timeseries.TimeSeriesDataSet.html the target parameter can be set to a list of strings indicating multiple variables for prediction However, during run time, the code spits the following error:
TypeError: new() received an invalid combination of arguments - got (list, int), but expected one of:
* (*, torch.device device)
didn't match because some of the arguments have invalid types: (list, int)
* (torch.Storage storage)
* (Tensor other)
* (tuple of ints size, *, torch.device device)
* (object data, *, torch.device device)
Issue Analytics
- State:
- Created 2 years ago
- Comments:18 (4 by maintainers)
Top Results From Across the Web
Swift Class for multiple targets can't compile when calling ...
Now I'm facing a problem where I call an API that's available on one target but not on the other. I don't care...
Read more >TimeSeriesDataSet — pytorch-forecasting documentation
Minimum number of time steps variables are lagged. If dataset encodes one or multiple targets. Continous variables as used for modelling. List of...
Read more >Shadowed Unit Frames Set Up Guide - YouTube
Shadowed Unit Frames Is the BEST WoW addon to customize your UI. Full addon setup guide for a Clean World of Warcraft UI...
Read more >[9.2.5] Bajheera Threat Plates Settings (Nameplate ... - YouTube
... to LIKE / COMMENT & SUBSCRIBE (Enable Notifications!) Merry Christmas, Happy Holidays & thanks for watching :) … Show more. Show more...
Read more >Use PXE for OSD over the network - Configuration Manager
When you create an OS deployment that targets only x64 BIOS computers, ... For more information, see Install or modify a distribution point....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@owoshch I encountered this problem when I only set
loss
with multiple loss but forgot to set theoutput_size
to a list of output sizes.But even if the
loss
andoutput_size
are set correctly and the learning rate is a small value, I still have the same issue as @QitianMa . Output before the error message:This happens immediately. I tried gradient_clip_val=0.0001, and learning rate 1e-6. This issue persists.