7ea7fd92ba1f23b99c0d383501d9c31a2779f799,softqlearning/misc/sampler.py,SimpleSampler,log_diagnostics,#SimpleSampler#,143

Before Change


    def log_diagnostics(self):
        logger.record_tabular("max-path-return", self._max_path_return)
        logger.record_tabular("last-path-return", self._last_path_return)
        logger.record_tabular("pool-size", self.pool.size)
        logger.record_tabular("episodes", self._n_episodes)
        logger.record_tabular("total-samples", self._total_samples)

After Change


            self._current_observation = next_observation

    def log_diagnostics(self):
        super(SimpleSampler, self).log_diagnostics()
        logger.record_tabular("max-path-return", self._max_path_return)
        logger.record_tabular("last-path-return", self._last_path_return)
        logger.record_tabular("episodes", self._n_episodes)
        logger.record_tabular("total-samples", self._total_samples)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: rail-berkeley/softlearning
Commit Name: 7ea7fd92ba1f23b99c0d383501d9c31a2779f799
Time: 2018-02-24
Author: haarnoja@users.noreply.github.com
File Name: softqlearning/misc/sampler.py
Class Name: SimpleSampler
Method Name: log_diagnostics


Project Name: rail-berkeley/softlearning
Commit Name: 4dd96193aaa69485ef183778f053fcfcbef457a2
Time: 2018-05-22
Author: azhou42@berkeley.edu
File Name: sac/algos/base.py
Class Name: RLAlgorithm
Method Name: _train


Project Name: rail-berkeley/softlearning
Commit Name: d66f559640be5681e03e8d6cea6cb2f1dad4ebce
Time: 2018-02-18
Author: haarnoja@berkeley.edu
File Name: softqlearning/misc/sampler.py
Class Name: SimpleSampler
Method Name: log_diagnostics