MCPcopy Create free account
hub / github.com/MTLab/MorphMLP / eval_epoch

Function eval_epoch

tools/train_net.py:189–307  ·  view source on GitHub ↗

Evaluate the model on the val set. Args: val_loader (loader): data loader to provide validation data. model (model): model to evaluate the performance. loss_scaler (scaler): scaler for loss. val_meter (ValMeter): meter instance to record and calculate the met

(val_loader, model, val_meter, loss_scaler, cur_epoch, cfg, writer=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

trainFunction · 0.85

Calls 10

add_scalarsMethod · 0.80
update_predictionsMethod · 0.80
plot_evalMethod · 0.80
iter_ticMethod · 0.45
data_tocMethod · 0.45
iter_tocMethod · 0.45
update_statsMethod · 0.45
log_iter_statsMethod · 0.45
log_epoch_statsMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected