code: def setUp(self):
      super().setUp()
      self.train_generator = some_data_tensor_generator(
          ModelFittingTestCase.batch_size
      )
      self.valid_generator = some_data_tensor_generator(
          ModelFittingTestCase.batch_size
      )
      self.test_generator = some_data_tensor_generator(
          ModelFittingTestCase.batch_size
      )
      torch.manual_seed(42)
      self.pytorch_network = nn.Linear(1, 1)
      self.loss_function = nn.MSELoss()
      self.optimizer = torch.optim.SGD(
          self.pytorch_network.parameters(), lr=1e-3
      )
      self.batch_metrics = [
          some_batch_metric_1,
          ("custom_name", some_batch_metric_2),
          repeat_batch_metric,
          repeat_batch_metric,
      ]
      self.batch_metrics_names = [
          "some_batch_metric_1",
          "custom_name",
          "repeat_batch_metric1",
          "repeat_batch_metric2",
      ]
      self.batch_metrics_values = [
          some_metric_1_value,
          some_metric_2_value,
          repeat_batch_metric_value,
          repeat_batch_metric_value,
      ]
      self.epoch_metrics = [SomeConstantMetric()]
      self.epoch_metrics_names = ["some_constant_metric"]
      self.epoch_metrics_values = [some_constant_metric_value]
  
      self.model = Model(
          self.pytorch_network,
          self.optimizer,
          self.loss_function,
          batch_metrics=self.batch_metrics,
          epoch_metrics=self.epoch_metrics,
      )
  
      self._capture_output()
  
imports: from unittest import skipIf
  import torch
  import torch.nn
  from torch.utils.data import DataLoader
  from poutyne import Model, TensorDataset
  from tests.framework.model.base import ModelFittingTestCase
  from tests.framework.tools import SomeConstantMetric, SomeDataGeneratorUsingStopIteration, repeat_batch_metric, repeat_batch_metric_value, some_batch_metric_1, some_batch_metric_2, some_constant_metric_value, some_data_tensor_generator, some_metric_1_value, some_metric_2_value
label_desc: Use image node_id 1 for calling the ModelFittingTestCaseProgress obj's underlying member method code with example usage: obj.setUp() without return types