Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GeWu-Lab/AnyTouch2
/ is_main_process
Function
is_main_process
utils.py:55–56 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
53
return
dist.get_rank()
54
55
def
is_main_process():
56
return
get_rank() == 0
57
58
def
load_label_from_csv(path: str):
59
""
"Load a csv file with pandas"
""
Callers
nothing calls this directly
Calls
1
get_rank
Function · 0.70
Tested by
no test coverage detected