Logging — PyTorch Lightning 1.8.6 documentation Shortcuts pytorch-lightning.readthedocs.io ๋ก๊ทธ๋ฅผ ๊ธฐ๋กํ๋ ๋ฐฉ๋ฒ์ Lightening Module์์ self.log()๋ self.log_dict()๋ฅผ ์ด์ฉํ๋ฉด ๋๋ค. def training_step(self, batch, batch_idx): self.log_dict({'acc': acc, 'recall': recall}) self.log('acc', acc) logging (log(), log_dict() ๋ชจ๋ ๋์ผํ๊ฒ ์ ์ฉ) ์ ์ค์ํ ์ธ์๋ on_step๊ณผ on_epoch์ด๋ค. on_step: ํ์ฌ step์ logging on_epoch: ๋ก๊ทธ๋ฅผ ์ถ์ ํ์ฌ epoch ๋ง์ง๋ง์ ..