Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
18
def
is_zip_path(img_or_path):
19
""
"judge if this is a zip path"
""
20
return
'.zip@'
in img_or_path
21
22
23
class
ZipReader(object):
Callers
1
pil_loader
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected