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"""DRIVE cross-evaluation dataset with matched resolution 

5 

6* Configuration resolution: 544 x 544 

7""" 

8 

9from bob.ip.binseg.configs.datasets.drive.xtest import dataset as _xt 

10from bob.ip.binseg.configs.datasets.drive.xtest import second_annotator 

11from bob.ip.binseg.data.transforms import Crop, Pad, Resize 

12 

13dataset = { 

14 "train": _xt["train"], 

15 "test": _xt["test"], 

16 "stare (train)": _xt["stare (train)"].copy( 

17 [Resize(471), Pad((0, 37, 0, 36))] 

18 ), 

19 "stare (test)": _xt["stare (test)"].copy( 

20 [Resize(471), Pad((0, 37, 0, 36))] 

21 ), 

22 "chasedb1 (train)": _xt["chasedb1 (train)"].copy( 

23 [Resize(544), Crop(0, 12, 544, 544)] 

24 ), 

25 "chasedb1 (test)": _xt["chasedb1 (test)"].copy( 

26 [Resize(544), Crop(0, 12, 544, 544)] 

27 ), 

28 "hrf (train)": _xt["hrf (train)"].copy( 

29 [Resize((363)), Pad((0, 90, 0, 91))] 

30 ), 

31 "hrf (test)": _xt["hrf (test)"].copy([Resize((363)), Pad((0, 90, 0, 91))]), 

32 "iostar (train)": _xt["iostar (train)"].copy([Resize(544)]), 

33 "iostar (test)": _xt["iostar (test)"].copy([Resize(544)]), 

34}