Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/DriveAdapter
/ expanduser
Function
expanduser
open_loop_training/code/datasets/base_dataset.py:16–20 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
14
from
mmdet3d.datasets.pipelines
import
Compose
15
16
def
expanduser(path):
17
if
isinstance(path, (str, PathLike)):
18
return
osp.expanduser(path)
19
else
:
20
return
path
21
22
23
class
BaseDataset(Dataset):
Callers
1
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected