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
4"""STARE cross-evaluation dataset with matched resolution
6* Configuration resolution: 704 x 608
7"""
9from bob.ip.binseg.configs.datasets.stare.xtest import dataset as _xt
10from bob.ip.binseg.configs.datasets.stare.xtest import second_annotator
11from bob.ip.binseg.data.transforms import CenterCrop, Pad, Resize
13dataset = {
14 "train": _xt["train"],
15 "test": _xt["test"],
16 "drive (train)": _xt["drive (train)"].copy(
17 [CenterCrop((470, 544)), Pad((10, 9, 10, 8)), Resize(608)]
18 ),
19 "drive (test)": _xt["drive (test)"].copy(
20 [CenterCrop((470, 544)), Pad((10, 9, 10, 8)), Resize(608)]
21 ),
22 "chasedb1 (train)": _xt["chasedb1 (train)"].copy(
23 [CenterCrop((829, 960)), Resize(608)]
24 ),
25 "chasedb1 (test)": _xt["chasedb1 (test)"].copy(
26 [CenterCrop((829, 960)), Resize(608)]
27 ),
28 "hrf (train)": _xt["hrf (train)"].copy(
29 [Pad((0, 345, 0, 345)), Resize(608)]
30 ),
31 "hrf (test)": _xt["hrf (test)"].copy([Pad((0, 345, 0, 345)), Resize(608)]),
32 "iostar (train)": _xt["iostar (train)"].copy(
33 [Pad((81, 0, 81, 0)), Resize(608)]
34 ),
35 "iostar (test)": _xt["iostar (test)"].copy(
36 [Pad((81, 0, 81, 0)), Resize(608)]
37 ),
38}