Coverage for src/deepdraw/configs/datasets/combined/vessel.py: 100%

12 statements  

« prev     ^ index     » next       coverage.py v7.3.1, created at 2023-11-30 15:00 +0100

1# SPDX-FileCopyrightText: Copyright © 2023 Idiap Research Institute <contact@idiap.ch> 

2# 

3# SPDX-License-Identifier: GPL-3.0-or-later 

4 

5"""Combining all vessel dataset together with the same resolution.""" 

6 

7from ..chasedb1.first_annotator_768 import dataset as chasedb 

8from ..drive.default_768 import dataset as drive 

9from ..hrf.default_768 import dataset as hrf 

10from ..iostar.vessel_768 import dataset as iostar 

11from ..stare.ah_768 import dataset as stare 

12 

13dataset = drive 

14keys = ["train", "test"] 

15 

16dataset_list = [stare, chasedb, hrf, iostar] 

17 

18for database in dataset_list: 

19 for key in keys: 

20 dataset[key]._samples.extend(database[key]._samples)