Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TEA-Lab/TwoByTwo
/ main
Function
main
src/script/our_train_B.py:271–273 ·
view source on GitHub ↗
(cfg)
Source
from the content-addressed store, hash-verified
269
270
271
def
main(cfg):
272
world_size = len(cfg.gpus)
273
mp.spawn(train, args=(world_size, cfg), nprocs=world_size, join=True)
274
275
276
if
__name__ ==
'__main__'
:
Callers
1
our_train_B.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected