Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Albert0147/G-SFDA
/ l_loader
Function
l_loader
utils.py:244–247 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
242
243
244
def
l_loader(path):
245
with
open(path,
'rb'
)
as
f:
246
with
Image.open(f)
as
img:
247
return
img.convert(
'L'
)
248
249
250
class
ImageList(Dataset):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected