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