MCPcopy Create free account
hub / github.com/SwinTransformer/Transformer-SSL / is_zip_path

Function is_zip_path

data/zipreader.py:18–20  ·  view source on GitHub ↗

judge if this is a zip path

(img_or_path)

Source from the content-addressed store, hash-verified

16
17
18def is_zip_path(img_or_path):
19 """judge if this is a zip path"""
20 return '.zip@' in img_or_path
21
22
23class ZipReader(object):

Callers 1

pil_loaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected