def load(self, path=None):
        """
        Load the dialogue_policy model from the path provided

        :param path: path to load the model from
        :return:
        """

        if not path:
            print('No dialogue_policy loaded.')
            return

        if isinstance(path, str):
            if os.path.isfile(path):
                with open(path, 'rb') as file:
                    obj = pickle.load(file)

                    if 'Q' in obj:
                        self.Q = obj['Q']
                    if 'pi' in obj:
                        self.pi = obj['pi']
                    if 'mean_pi' in obj:
                        self.mean_pi = obj['mean_pi']
                    if 'state_counter' in obj:
                        self.state_counter = obj['state_counter']
                    if 'a' in obj:
                        self.alpha = obj['a']
                    if 'e' in obj:
                        self.epsilon = obj['e']
                    if 'g' in obj:
                        self.gamma = obj['g']

                    print('WoLF-PHC dialogue_policy loaded from {0}.'
                          .format(path))

            else:
                print('Warning! WoLF-PHC dialogue_policy file %s not found'
                      % path)
        else:
            print('Warning! Unacceptable value for WoLF-PHC policy file name:'
                  ' %s ' % path)

        Load the dialogue_policy model from the path provided

        :param path: path to load the model from
        :return:
        
plato/agent/component/dialogue_policy/reinforcement_learning/wolf_phc_policy.py