def tearDown(self): SummaryWriterContext._reset_globals()
def setUp(self): SummaryWriterContext._reset_globals() logging.basicConfig(level=logging.INFO) np.random.seed(SEED) torch.manual_seed(SEED) random.seed(SEED)