Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SLDGroup/EMCAD
/ binary_loader
Method
binary_loader
utils/dataloader.py:89–93 ·
view source on GitHub ↗
(self, path)
Source
from the content-addressed store, hash-verified
87
return
img.convert(
'RGB'
)
88
89
def
binary_loader(self, path):
90
with
open(path,
'rb'
)
as
f:
91
img = Image.open(f)
92
# return img.convert('1')
93
return
img.convert(
'L'
)
94
95
def
convert2polar(self, img, gt):
96
Callers
1
__getitem__
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected