hucc/agents/hsd3.py [520:544]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        self._onehots = None

        self._target = deepcopy(model)
        # We'll never need gradients for the target network
        for param in self._target.parameters():
            param.requires_grad_(False)

        self._action_space_lo = env.action_space
        self._action_factor_lo = env.action_space.high[0]
        self._action_factor_c = self._action_space_c.high[0]
        self._obs_space = self._iface.observation_space_hi
        self._obs_keys = list(self._obs_space.spaces.keys())

        self._q_hi = self._model.hi.q
        self._pi_lo_det = DeterministicLo(self._model.lo.pi)
        if cfg.trace:
            self._q_hi = TracedModule(self._q_hi)
            self._pi_lo_det = TracedModule(self._pi_lo_det)

        self.set_checkpoint_attr(
            '_model',
            '_target',
            '_optim',
            '_log_alpha_c',
            '_optim_alpha_c',
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



hucc/agents/hsdb.py [154:178]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        self._onehots = None

        self._target = deepcopy(model)
        # We'll never need gradients for the target network
        for param in self._target.parameters():
            param.requires_grad_(False)

        self._action_space_lo = env.action_space
        self._action_factor_lo = env.action_space.high[0]
        self._action_factor_c = self._action_space_c.high[0]
        self._obs_space = self._iface.observation_space_hi
        self._obs_keys = list(self._obs_space.spaces.keys())

        self._q_hi = self._model.hi.q
        self._pi_lo_det = DeterministicLo(self._model.lo.pi)
        if cfg.trace:
            self._q_hi = TracedModule(self._q_hi)
            self._pi_lo_det = TracedModule(self._pi_lo_det)

        self.set_checkpoint_attr(
            '_model',
            '_target',
            '_optim',
            '_log_alpha_c',
            '_optim_alpha_c',
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



