MCPcopy
hub / github.com/DingXiaoH/RepVGG / read

Method read

data/zipreader.py:79–83  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

77
78 @staticmethod
79 def read(path):
80 zip_path, path_img = ZipReader.split_zip_style_path(path)
81 zfile = ZipReader.get_zipfile(zip_path)
82 data = zfile.read(path_img)
83 return data
84
85 @staticmethod
86 def imread(path):

Callers 4

raw_readerFunction · 0.80
imreadMethod · 0.80
init_cacheMethod · 0.80
pil_loaderFunction · 0.80

Calls 2

split_zip_style_pathMethod · 0.80
get_zipfileMethod · 0.80

Tested by

no test coverage detected