MCPcopy Create free account
hub / github.com/dqwang122/HeterSumGraph / run_training

Function run_training

train.py:78–177  ·  view source on GitHub ↗

Repeatedly runs training iterations, logging loss to screen and log files :param model: the model :param train_loader: train dataset loader :param valid_loader: valid dataset loader :param valset: valid dataset which includes text and summary :par

(model, train_loader, valid_loader, valset, hps, train_dir)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

setup_trainingFunction · 0.85

Calls 3

save_modelFunction · 0.85
run_evalFunction · 0.85
forwardMethod · 0.45

Tested by

no test coverage detected