MCPcopy Create free account
hub / github.com/Topdu/OpenOCR / writeCache

Function writeCache

tools/create_lmdb_dataset.py:50–53  ·  view source on GitHub ↗
(env, cache)

Source from the content-addressed store, hash-verified

48
49
50def writeCache(env, cache):
51 with env.begin(write=True) as txn:
52 for k, v in cache.items():
53 txn.put(k, v)
54
55
56def createDataset(data_list, outputPath, checkValid=True):

Callers 1

createDatasetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected