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

5 

6* Configuration resolution (height x width): 960 x 960 

7""" 

8 

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

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

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

12 

13dataset = { 

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

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

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

17 [CenterCrop((544, 544)), Resize(960)] 

18 ), 

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

20 [CenterCrop((544, 544)), Resize(960)] 

21 ), 

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

23 [Pad((0, 32, 0, 32)), Resize(960), CenterCrop(960)] 

24 ), 

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

26 [Pad((0, 32, 0, 32)), Resize(960), CenterCrop(960)] 

27 ), 

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

29 [Pad((0, 584, 0, 584)), Resize(960)] 

30 ), 

31 "hrf (test)": _xt["hrf (test)"].copy([Pad((0, 584, 0, 584)), Resize(960)]), 

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

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

34}