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

Function fixkeyCh

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

Source from the content-addressed store, hash-verified

22 return padded_image
23
24def fixkeyCh(key):
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))

Callers 1

__getitem__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected