MCPcopy Create free account
hub / github.com/BeastyZ/ConvSearch-R1 / pload

Function pload

preprocess/qrecc/preprocess_v3.py:12–16  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

10logger = logging.getLogger(__name__)
11
12def pload(path):
13 with open(path, 'rb') as f:
14 res = pickle.load(f)
15 print('load path = {} object'.format(path))
16 return res
17
18def pstore(x, path):
19 with open(path, 'wb') as f:

Callers 2

gen_qrecc_qrelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected