Skip to content

Commit

Permalink
seed_everything
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Feb 26, 2024
1 parent b8c76e3 commit 7e54e12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/torch/model/test_estimators.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import pytest
import pandas as pd
import numpy as np
from lightning import seed_everything

from gluonts.dataset.repository import get_dataset
from gluonts.model.predictor import Predictor
Expand Down Expand Up @@ -309,6 +310,7 @@ def test_estimator_constant_dataset(
],
)
def test_estimator_with_features(estimator_constructor):
seed_everything(42)
freq = "1h"
prediction_length = 12

Expand Down

0 comments on commit 7e54e12

Please sign in to comment.