From 296fc1ba64cdbc2b6a57a0c83bcdb5c1d27f9280 Mon Sep 17 00:00:00 2001 From: Albert Zeyer Date: Wed, 24 Jul 2024 15:05:03 +0200 Subject: [PATCH] ExtractSeqLensJob, init RETURNN logging, default verbosity 4 --- returnn/dataset.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/returnn/dataset.py b/returnn/dataset.py index 8a0cdb8b..a242264c 100644 --- a/returnn/dataset.py +++ b/returnn/dataset.py @@ -227,11 +227,16 @@ def run(self): from returnn.config import set_global_config, Config from returnn.datasets import init_dataset + from returnn.log import log config = Config() config.load_file(self.out_returnn_config_file.get_path()) set_global_config(config) + if not config.has("log_verbosity"): + config.typed_dict["log_verbosity"] = 4 + log.init_by_config(config) + dataset_dict = config.typed_value("dataset") assert isinstance(dataset_dict, dict) dataset = init_dataset(dataset_dict)