Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/csuhan/OneLLM
/ data_utils.py
File
data_utils.py
data/data_utils.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
PIL
import
Image
2
import
torch
3
import
torchaudio
4
import
torchvision.transforms.functional
as
F
Callers
nothing calls this directly
Calls
3
PairRandomResizedCrop
Class · 0.85
PairToTensor
Class · 0.85
PairNormalize
Class · 0.85
Tested by
no test coverage detected