MCPcopy Create free account
hub / github.com/PaddlePaddle/Knover / evaluate

Function evaluate

knover/scripts/train.py:189–274  ·  view source on GitHub ↗

Run evaluation. Run evaluation on dataset which is generated from a generator. Support evaluation on single GPU and multiple GPUs. Single GPU: 1. Run evaluation on the whole dataset (the generator generates the completed whole dataset). 2. Disply evaluation result. Multiple GP

(task,
             model,
             generator,
             args,
             dev_count,
             gpu_id,
             training_step,
             tag=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

trainFunction · 0.70

Calls 7

startMethod · 0.95
TimerClass · 0.90
run_cmdFunction · 0.85
eval_stepMethod · 0.45
get_metricsMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected