| 30 | 'ZS_SR_DMOS', 'ZS_SR_MOS', '...'] |
| 31 | |
| 32 | def 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 | |
| 45 | def main(): |