Exemplo n.º 1
0
 def Setup(self, bottom):
     super(DataLayer, self).Setup(bottom)
     data, label = ops.LMDBData(**self._param)
     return ops.ImageData(data, **self._param), label
Exemplo n.º 2
0
Arquivo: data.py Projeto: yyaqi/Dragon
 def LayerSetup(self, bottom):
     return _ops.ImageData(bottom, **self.arguments)
Exemplo n.º 3
0
 def Setup(self, bottom):
     super(MemoryDataLayer, self).Setup(bottom)
     return ops.ImageData(bottom[0], **self._param)
Exemplo n.º 4
0
Arquivo: data.py Projeto: yyaqi/Dragon
 def LayerSetup(self, bottom):
     data, label = _ops.LMDBData(**self.arguments)
     return _ops.ImageData(data, **self.arguments), label