pytorch-forecasting icon indicating copy to clipboard operation
pytorch-forecasting copied to clipboard

MQF2DistributionLoss and MultivariateNormalDistributionLoss not available anymore

Open CapussoM opened this issue 3 years ago • 2 comments

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?

CapussoM avatar Jun 30 '22 12:06 CapussoM

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

why362 avatar Jul 18 '22 03:07 why362

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.

erykml avatar Aug 18 '22 23:08 erykml

Still not working on Google Colab

RenaissanceEngineering avatar Oct 23 '22 03:10 RenaissanceEngineering