From bfca485a0966bfab55d9c2580c8dd64b5dd051be Mon Sep 17 00:00:00 2001 From: ktro2828 Date: Tue, 17 Sep 2024 15:11:06 +0900 Subject: [PATCH] feat: allow input rosbag base is None Signed-off-by: ktro2828 --- perception_dataset/convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perception_dataset/convert.py b/perception_dataset/convert.py index cb50f983..edc093a1 100644 --- a/perception_dataset/convert.py +++ b/perception_dataset/convert.py @@ -344,7 +344,7 @@ def main(): input_anno_base = config_dict["conversion"]["input_anno_base"] dataset_corresponding = config_dict["conversion"]["dataset_corresponding"] description = config_dict["description"] - input_bag_base = config_dict["conversion"]["input_bag_base"] + input_bag_base = config_dict["conversion"].get("input_bag_base") topic_list_yaml_path = config_dict["conversion"]["topic_list"] with open(topic_list_yaml_path) as f: topic_list_yaml = yaml.safe_load(f)