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