Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/modelscope/modelscope
/ main
Function
main
modelscope/tools/train.py:17–21 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
15
16
17
def
main():
18
args = parse_args()
19
kwargs = dict(cfg_file=args.config)
20
trainer = build_trainer(args.trainer_name, kwargs)
21
trainer.train()
22
23
24
if
__name__ ==
'__main__'
:
Callers
1
train.py
File · 0.70
Calls
3
build_trainer
Function · 0.90
parse_args
Function · 0.70
train
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…