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

5 

6* Configuration resolution: 1168 x 1648 

7""" 

8 

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

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

11 

12dataset = { 

13 "train": _xt["train"], 

14 "test": _xt["test"], 

15 "train (full resolution)": _xt["train (full resolution)"], 

16 "test (full resolution)": _xt["test (full resolution)"], 

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

18 [Crop(75, 10, 416, 544), Pad((21, 0, 22, 0)), Resize(1168)] 

19 ), 

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

21 [Crop(75, 10, 416, 544), Pad((21, 0, 22, 0)), Resize(1168)] 

22 ), 

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

24 [Crop(50, 0, 500, 705), Resize(1168), Pad((1, 0, 1, 0))] 

25 ), 

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

27 [Crop(50, 0, 500, 705), Resize(1168), Pad((1, 0, 1, 0))] 

28 ), 

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

30 [Crop(140, 18, 680, 960), Resize(1168)] 

31 ), 

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

33 [Crop(140, 18, 680, 960), Resize(1168)] 

34 ), 

35 "iostar (train)": _xt["iostar (train)"].copy( 

36 [Crop(144, 0, 768, 1024), Pad((30, 0, 30, 0)), Resize(1168)] 

37 ), 

38 "iostar (test)": _xt["iostar (test)"].copy( 

39 [Crop(144, 0, 768, 1024), Pad((30, 0, 30, 0)), Resize(1168)] 

40 ), 

41}