2ae608bc7061fdc414c7bff301fbcce46d6515a7,catalyst/rl/core/trainer.py,TrainerSpec,_prepare_logger,#TrainerSpec#Any#,128
Before Change
self.wandb_mode = "trainer"
def _prepare_logger(self, logdir):
timestamp = datetime.utcnow().strftime("%y%m%d.%H%M%S")
logpath = f"{logdir}/trainer.{timestamp}"
os.makedirs(logpath, exist_ok=True)
self.logger = SummaryWriter(logpath)
After Change
self.wandb_mode = "trainer"
def _prepare_logger(self, logdir):
timestamp = utils.get_utcnow_time()
logpath = f"{logdir}/trainer.{timestamp}"
os.makedirs(logpath, exist_ok=True)
self.logger = SummaryWriter(logpath)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 7
Instances
Project Name: Scitator/catalyst
Commit Name: 2ae608bc7061fdc414c7bff301fbcce46d6515a7
Time: 2019-09-30
Author: tez.romach@gmail.com
File Name: catalyst/rl/core/trainer.py
Class Name: TrainerSpec
Method Name: _prepare_logger
Project Name: Scitator/catalyst
Commit Name: 2ae608bc7061fdc414c7bff301fbcce46d6515a7
Time: 2019-09-30
Author: tez.romach@gmail.com
File Name: catalyst/rl/core/sampler.py
Class Name: Sampler
Method Name: _prepare_logger