You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation states (https://djl.ai/extensions/timeseries/docs/forecast_with_M5_data.html) that PyTorch also supports the TimeSeries API, but when trying to train a model with the PyTorch engine, an error occurs:
Exception in thread "main" java.lang.UnsupportedOperationException: Not implemented yet.
at ai.djl.pytorch.engine.PtNDArray.gammaln(PtNDArray.java:845)
at ai.djl.timeseries.distribution.NegativeBinomial.logProb(NegativeBinomial.java:47)
at ai.djl.timeseries.distribution.DistributionLoss.evaluate(DistributionLoss.java:54)
at ai.djl.training.EasyTrain.trainSplit(EasyTrain.java:124)
at ai.djl.training.EasyTrain.trainBatch(EasyTrain.java:110)
at ai.djl.training.EasyTrain.fit(EasyTrain.java:58)
at com.crypto.analysis.main.ex.NNew.train(NNew.java:134)
at com.crypto.analysis.main.ex.NNew.main(NNew.java:63)
The documentation states (https://djl.ai/extensions/timeseries/docs/forecast_with_M5_data.html) that PyTorch also supports the TimeSeries API, but when trying to train a model with the PyTorch engine, an error occurs:
Exception in thread "main" java.lang.UnsupportedOperationException: Not implemented yet.
at ai.djl.pytorch.engine.PtNDArray.gammaln(PtNDArray.java:845)
at ai.djl.timeseries.distribution.NegativeBinomial.logProb(NegativeBinomial.java:47)
at ai.djl.timeseries.distribution.DistributionLoss.evaluate(DistributionLoss.java:54)
at ai.djl.training.EasyTrain.trainSplit(EasyTrain.java:124)
at ai.djl.training.EasyTrain.trainBatch(EasyTrain.java:110)
at ai.djl.training.EasyTrain.fit(EasyTrain.java:58)
at com.crypto.analysis.main.ex.NNew.train(NNew.java:134)
at com.crypto.analysis.main.ex.NNew.main(NNew.java:63)
`public static void train(Path outputDir) {
try (Model model = Model.newInstance("DeepAR");
NDManager manager = NDManager.newBaseManager()) {
The text was updated successfully, but these errors were encountered: