MCPcopy
hub / github.com/JDAI-CV/fast-reid / __init__

Method __init__

tools/deploy/Caffe/caffe_lmdb.py:6–11  ·  view source on GitHub ↗
(self,path,dtype=np.uint8)

Source from the content-addressed store, hash-verified

4
5class Read_Caffe_LMDB():
6 def __init__(self,path,dtype=np.uint8):
7
8 self.env=lmdb.open(path, readonly=True)
9 self.dtype=dtype
10 self.txn=self.env.begin()
11 self.cursor=self.txn.cursor()
12
13 @staticmethod
14 def to_numpy(value,dtype=np.uint8):

Callers

nothing calls this directly

Calls 1

openMethod · 0.80

Tested by

no test coverage detected