From df2e83e586dee16c24ba5074f0dbfb910a66a17b Mon Sep 17 00:00:00 2001 From: Kento Nozawa Date: Thu, 21 Mar 2024 16:14:23 +0900 Subject: [PATCH] Use argument out_dir not self.out_dir --- pytorch_pfn_extras/writing/_writer_base.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pytorch_pfn_extras/writing/_writer_base.py b/pytorch_pfn_extras/writing/_writer_base.py index 5f050a61..78eb7ee7 100644 --- a/pytorch_pfn_extras/writing/_writer_base.py +++ b/pytorch_pfn_extras/writing/_writer_base.py @@ -286,7 +286,6 @@ def save( append: bool, **savefun_kwargs: Any, ) -> None: - out_dir = self.out_dir if not self._initialized: self.initialize(out_dir)