code: def __init__(
      self,
      repo: Optional[str] = None,
      experiment: Optional[str] = None,
      system_tracking_interval: Optional[
          int
      ] = DEFAULT_SYSTEM_TRACKING_INT,
      log_system_params: Optional[bool] = True,
      capture_terminal_logs: Optional[bool] = True,
  ):
      super(Callback, self).__init__()
  
      self._system_tracking_interval = system_tracking_interval
      self._log_system_params = log_system_params
      self._capture_terminal_logs = capture_terminal_logs
  
      if repo is None and experiment is None:
          self._run = Run(
              system_tracking_interval=self._system_tracking_interval,
              log_system_params=self._log_system_params,
              capture_terminal_logs=self._capture_terminal_logs,
          )
      else:
          self._run = Run(
              repo=repo,
              experiment=experiment,
              system_tracking_interval=self._system_tracking_interval,
              log_system_params=self._log_system_params,
              capture_terminal_logs=self._capture_terminal_logs,
          )
  
      self._run_hash = self._run.hash
      self._repo_path = repo
  
file_path: aim/aim/sdk/adapters/keras.py
imports: from typing import Optional
  from aim.sdk.run import Run
  from aim.sdk.adapters.keras_mixins import TrackerKerasCallbackMetricsEpochEndMixin
  from aim.ext.resource.configs import DEFAULT_SYSTEM_TRACKING_INT
label_desc: Use image node_id 1 to create a new AimCallback object from inherited base classes: TrackerKerasCallbackMetricsEpochEndMixin, Callback with example: obj = AimCallback(repo, experiment, system_tracking_interval, log_system_params, capture_terminal_logs)