MCPcopy Create free account
hub / github.com/buaacxf/VIPTR / fixkeyEn

Function fixkeyEn

dataload/loader.py:27–28  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

25 return ''.join(re.findall("[㙟\u4e00-\u9fa50-9a-zA-Z#%().·-]",key))
26
27def fixkeyEn(key):
28 return ''.join(re.findall("[0-9a-zA-Z]",key))
29
30class LoadDatasetLmdb(Dataset):
31 def __init__(self,config,lmdb_file):

Callers 1

__getitem__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected