run evaluation
(phase, path)
| 41 | do_pred=False, suffix="out"): |
| 42 | """evaluate""" |
| 43 | def evaluate_dataset(phase, path): |
| 44 | """run evaluation""" |
| 45 | pyreader.set_batch_generator(data_generator(input_file=path, phase=phase)) |
| 46 | eval_func(eval_phase="%s_%s" % (phase, suffix), |
| 47 | features=reader.get_features(phase)) |
| 48 | |
| 49 | if args.do_val: |
| 50 | evaluate_dataset("dev", args.dev_set) |
no test coverage detected