Skip to content

Commit 0ab82da

Browse files
committed
use glutonts 0.8.0 and remove wandb
1 parent 5da3be5 commit 0ab82da

File tree

15 files changed

+19
-28
lines changed

15 files changed

+19
-28
lines changed

pts/model/causal_deepar/causal_deepar_estimator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
TestSplitSampler,
2727
ExpectedNumInstanceSampler,
2828
)
29-
from gluonts.torch.support.util import copy_parameters
29+
from gluonts.torch.util import copy_parameters
3030
from gluonts.torch.model.predictor import PyTorchPredictor
3131
from gluonts.torch.modules.distribution_output import DistributionOutput
3232
from gluonts.model.predictor import Predictor

pts/model/deepar/deepar_estimator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
TestSplitSampler,
2727
ExpectedNumInstanceSampler,
2828
)
29-
from gluonts.torch.support.util import copy_parameters
29+
from gluonts.torch.util import copy_parameters
3030
from gluonts.torch.model.predictor import PyTorchPredictor
3131
from gluonts.torch.modules.distribution_output import DistributionOutput
3232
from gluonts.model.predictor import Predictor

pts/model/deepvar/deepvar_estimator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from gluonts.dataset.field_names import FieldName
88
from gluonts.time_feature import TimeFeature
99
from gluonts.torch.modules.distribution_output import DistributionOutput
10-
from gluonts.torch.support.util import copy_parameters
10+
from gluonts.torch.util import copy_parameters
1111
from gluonts.torch.model.predictor import PyTorchPredictor
1212
from gluonts.model.predictor import Predictor
1313
from gluonts.transform import (

pts/model/lstnet/lstnet_estimator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
from gluonts.core.component import validated
88
from gluonts.dataset.field_names import FieldName
9-
from gluonts.torch.support.util import copy_parameters
9+
from gluonts.torch.util import copy_parameters
1010
from gluonts.torch.model.predictor import PyTorchPredictor
1111
from gluonts.model.predictor import Predictor
1212
from gluonts.transform import (
@@ -32,7 +32,7 @@ class LSTNetEstimator(PyTorchEstimator):
3232
def __init__(
3333
self,
3434
freq: str,
35-
prediction_length: int,
35+
prediction_length: Optional[int],
3636
context_length: int,
3737
num_series: int,
3838
ar_window: int = 24,

pts/model/n_beats/n_beats_estimator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from gluonts.dataset.field_names import FieldName
88
from gluonts.model.predictor import Predictor
99
from gluonts.torch.model.predictor import PyTorchPredictor
10-
from gluonts.torch.support.util import copy_parameters
10+
from gluonts.torch.util import copy_parameters
1111
from gluonts.transform import (
1212
InstanceSplitter,
1313
ValidationSplitSampler,

pts/model/simple_feedforward/simple_feedforward_estimator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import torch.nn as nn
55

66
from gluonts.core.component import validated
7-
from gluonts.torch.support.util import copy_parameters
7+
from gluonts.torch.util import copy_parameters
88
from gluonts.torch.model.predictor import PyTorchPredictor
99
from gluonts.torch.modules.distribution_output import DistributionOutput
1010
from gluonts.model.predictor import Predictor

pts/model/tempflow/tempflow_estimator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from gluonts.dataset.field_names import FieldName
77
from gluonts.time_feature import TimeFeature
88
from gluonts.torch.model.predictor import PyTorchPredictor
9-
from gluonts.torch.support.util import copy_parameters
9+
from gluonts.torch.util import copy_parameters
1010
from gluonts.model.predictor import Predictor
1111
from gluonts.torch.model.predictor import PyTorchPredictor
1212
from gluonts.transform import (

pts/model/tft/tft_estimator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
time_features_from_frequency_str,
1313
)
1414
from gluonts.torch.model.predictor import PyTorchPredictor
15-
from gluonts.torch.support.util import copy_parameters
15+
from gluonts.torch.util import copy_parameters
1616
from gluonts.transform import (
1717
Transformation,
1818
Chain,

pts/model/time_grad/time_grad_estimator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from gluonts.dataset.field_names import FieldName
66
from gluonts.time_feature import TimeFeature
77
from gluonts.torch.model.predictor import PyTorchPredictor
8-
from gluonts.torch.support.util import copy_parameters
8+
from gluonts.torch.util import copy_parameters
99
from gluonts.model.predictor import Predictor
1010
from gluonts.transform import (
1111
Transformation,

pts/model/transformer/transformer_estimator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from gluonts.dataset.field_names import FieldName
99
from gluonts.time_feature import TimeFeature
1010
from gluonts.torch.modules.distribution_output import DistributionOutput
11-
from gluonts.torch.support.util import copy_parameters
11+
from gluonts.torch.util import copy_parameters
1212
from gluonts.torch.model.predictor import PyTorchPredictor
1313
from gluonts.model.predictor import Predictor
1414
from gluonts.transform import (

0 commit comments

Comments
 (0)