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
Traceback (most recent call last):
File "gluonts/src/gluonts/nursery/robust-mts-attack/pts/modules/distribution_output.py", line 47, in <module>
from gluonts.torch.modules.distribution_output import (
ModuleNotFoundError: No module named 'gluonts.torch.modules.distribution_output'
Proposed Solution:
The following lines of code should solve the problem to match the current version of gluonts (v 0.15.0).
from gluonts.torch.distributions.distribution_output import DistributionOutput
from gluonts.torch.modules.lambda_layer import LambdaLayer
from gluonts.torch.distributions.output import PtArgProj
Environment
Operating system: MacOS 14.0
Python version: 3.11.
GluonTS version: 0.15.0
The text was updated successfully, but these errors were encountered:
*Issue #, if available:* #3193
*Description of changes:* Import Error solved with updated imports
matching the new version of gluonts
By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.
Tag: bug fix (import error)
Co-authored-by: Clara Grotehans <ClaraGrthns>
Co-authored-by: Lorenzo Stella <[email protected]>
kashif
pushed a commit
to kashif/gluon-ts
that referenced
this issue
Jun 15, 2024
*Issue #, if available:* awslabs#3193
*Description of changes:* Import Error solved with updated imports
matching the new version of gluonts
By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.
Tag: bug fix (import error)
Co-authored-by: Clara Grotehans <ClaraGrthns>
Co-authored-by: Lorenzo Stella <[email protected]>
Description
There is an Import error in the pts module in gluonts/nursery/robust-mts-attack/pts/modules/distribution_output.py
To Reproduce
The following lines of code yield the Import Error:
Error message or code output
Proposed Solution:
The following lines of code should solve the problem to match the current version of gluonts (v 0.15.0).
Environment
The text was updated successfully, but these errors were encountered: