Example #1
0
 def Setup(self, bottom):
     super(DataLayer, self).Setup(bottom)
     return ops.LMDBData(**self._param)
Example #2
0
 def Setup(self, bottom):
     super(DataLayer, self).Setup(bottom)
     data, label = ops.LMDBData(**self._param)
     return ops.ImageData(data, **self._param), label
Example #3
0
File: data.py Project: yyaqi/Dragon
 def LayerSetup(self, bottom):
     data, label = _ops.LMDBData(**self.arguments)
     return _ops.ImageData(data, **self.arguments), label