8ef3f88cfe38c9178ec53cca4025eeacbe230741,catalyst/rl/core/sampler.py,ValidSampler,_run_sample_loop,#ValidSampler#,412

Before Change


            if self.logger is not None:
                self.logger.add_scalar(
                    "trajectory/_mean_valid_reward",
                    np.mean(trajectories_rewards),
                    self.db_server.epoch
                )
            self._log_to_wandb(

After Change


            self._log_to_wandb(step=self.db_server.epoch, **loop_metrics)

            self.checkpoint["reward"] = trajectories_reward
            self.checkpoint["raw_reward"] = trajectories_raw_reward
            self.checkpoint["epoch"] = self.db_server.epoch
            self.save_checkpoint(
                logdir=self.logdir,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: catalyst-team/catalyst
Commit Name: 8ef3f88cfe38c9178ec53cca4025eeacbe230741
Time: 2019-09-20
Author: scitator@gmail.com
File Name: catalyst/rl/core/sampler.py
Class Name: ValidSampler
Method Name: _run_sample_loop


Project Name: dmlc/gluon-cv
Commit Name: 0fd13ccd7e61c9186127993080240c07b7ad905e
Time: 2019-10-28
Author: yizhu59@gmail.com
File Name: scripts/action-recognition/test_recognizer.py
Class Name:
Method Name: test


Project Name: keras-team/autokeras
Commit Name: 30119e9882611a85bf43575c3102281cae43c762
Time: 2018-03-18
Author: jhfjhfj1@gmail.com
File Name: experiments/mnist.py
Class Name:
Method Name:


Project Name: maciejkula/spotlight
Commit Name: bed4f2dd50ff54eb7629362c3d03a3b758e0745a
Time: 2017-08-09
Author: maciej.kula@gmail.com
File Name: spotlight/layers.py
Class Name: BloomEmbedding
Method Name: forward