Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenRL-Lab/Wandb_Tutorial
/ read
Function
read
artifact/load_data.py:65–69 ·
view source on GitHub ↗
(data_dir, split)
Source
from the content-addressed store, hash-verified
63
64
65
def
read(data_dir, split):
66
filename = split +
".pt"
67
x, y = torch.load(os.path.join(data_dir, filename))
68
69
return
TensorDataset(x, y)
70
71
if
__name__ ==
'__main__'
:
72
data = load()
Callers
1
test_download_artifact
Function · 0.90
Calls
no outgoing calls
Tested by
1
test_download_artifact
Function · 0.72