MCPcopy Create free account
hub / github.com/Netflix/vmaf / print_usage

Function print_usage

python/vmaf/script/run_testing.py:32–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30 'ZS_SR_DMOS', 'ZS_SR_MOS', '...']
31
32def print_usage():
33 quality_runner_types = ['VMAF', 'PSNR', 'SSIM', 'MS_SSIM', '...']
34 print("usage: " + os.path.basename(sys.argv[0]) + \
35 " quality_type test_dataset_filepath [--vmaf-model VMAF_model_path] " \
36 "[--vmaf-phone-model] [--subj-model subjective_model] [--cache-result] " \
37 "[--parallelize] [--print-result] [--save-plot plot_dir] [--plot-wh plot_wh] "
38 "[--processes processes]\n")
39 print("quality_type:\n\t" + "\n\t".join(quality_runner_types) +"\n")
40 print("subjective_model:\n\t" + "\n\t".join(SUBJECTIVE_MODELS) + "\n")
41 print("plot_wh: plot width and height in inches, example: 5x5 (default)")
42 print("processes: must be an integer >=1")
43
44
45def main():

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected