jdb78 / pytorch-forecasting

Time series forecasting with PyTorch
https://pytorch-forecasting.readthedocs.io/
MIT License
3.87k stars 611 forks source link

MQF2DistributionLoss and MultivariateNormalDistributionLoss not available anymore #1052

Open CapussoM opened 2 years ago

CapussoM commented 2 years ago

Hello! I was trying to train DeepAR and NHiTS, the problem is that the two losses used in those models seem to not be available anymore in the library, where can I find them?

I tried both: from pytorch_forecasting.metrics

and from pytorch_forecasting.metrics.distributions

but in the first it's not present and the second obviously throws an error since metrics is not a package. Are those two losses still available somewhere?

why362 commented 2 years ago

i encountered the same problem, do you have a solution yet?

erykml commented 2 years ago

I did not dive that deep into the issue, but I also encountered it while using Google Colab. Then, I installed the library locally, and the issue was gone. Also, you can see here that the loss functions are not actually gone from the codebase: https://github.com/jdb78/pytorch-forecasting/blob/master/pytorch_forecasting/metrics/distributions.py#L43.

RenaissanceEngineering commented 1 year ago

Still not working on Google Colab