Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1#!/usr/bin/env python 

2# coding=utf-8 

3 

4"""COVD-HRF + SSL for Vessel Segmentation 

5 

6* Configuration resolution: 1168 x 1648 

7 

8The dataset available in this file is composed of DRIVE STARE, CHASE-DB1, and 

9IOSTAR vessel (with annotated samples), and HRF "default" training set, without 

10labels, for training, and HRF's "default" test set, for evaluation. 

11 

12For details on datasets, consult: 

13 

14* :py:mod:`bob.ip.binseg.data.stare` 

15* :py:mod:`bob.ip.binseg.data.drive` 

16* :py:mod:`bob.ip.binseg.data.chasedb1` 

17* :py:mod:`bob.ip.binseg.data.iostar` 

18* :py:mod:`bob.ip.binseg.data.hrf` 

19""" 

20 

21from bob.ip.binseg.configs.datasets.hrf.covd import dataset as _covd 

22from bob.ip.binseg.configs.datasets.hrf.default import dataset as _baseline 

23from bob.ip.binseg.data.utils import SSLDataset 

24 

25# copy dictionary and replace only the augmented train dataset 

26dataset = dict(**_covd) 

27dataset["__train__"] = SSLDataset(_covd["__train__"], _baseline["__train__"])