MCPcopy Create free account
hub / github.com/CVMI-Lab/DODA / train

Function train

tool/train.py:235–268  ·  view source on GitHub ↗
(
    model, model_fn, model_fn_test, train_loader, val_loader, optimizer, scheduler, ckpt_dir, rank,
    dist_train=False, train_sampler=None, best_mIoU=None, best_epoch=0
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.70

Calls 4

save_paramsFunction · 0.90
set_epochMethod · 0.80
train_epochFunction · 0.70
validate_epochFunction · 0.70

Tested by

no test coverage detected