@@ -92,11 +92,10 @@ usageMessage (ostream& stream, const char* program_name, bool verbose = false)
9292 " --csv print output in csv mode. If passes>1, show median timing\n "
9393 " default is JSON mode\n "
9494 " --passes num write and re-read file num times (default 1)\n "
95- " --mse compute MSE per part, comparing original vs. re-read after compression.\n "
96- " Parts must have uniform channel types. Half and float channels use\n "
97- " signed log-space MSE (reported as \" log_mse\" ), skipping non-finite\n "
98- " original samples; non-finite re-read samples produce NaN. Uint\n "
99- " channels use linear MSE (reported as \" mse\" ).\n "
95+ " --mse compute LogMSE per part, comparing original vs. re-read after compression.\n "
96+ " Parts must have uniform half or float channel types. Samples that are non-finite\n "
97+ " in the original are skipped. Samples that are finite in the original and not finite\n "
98+ " in the re-read result in Nan."
10099 " \n "
101100 " -h, --help print this message\n "
102101 " -v output progress messages\n "
@@ -406,11 +405,7 @@ jsonStats (
406405 if (computeMSE)
407406 {
408407 out << " ,\n " ;
409- const char * mseKey =
410- run.metrics .stats [part].mseKind != MSE_LOG_INT
411- ? " log_mse"
412- : " mse" ;
413- out << " \" " << mseKey
408+ out << " \" " << " log_mse"
414409 << " \" : " << run.metrics .stats [part].mse ;
415410 }
416411 if (timing)
@@ -497,9 +492,6 @@ csvStats (ostream& out, list<runData>& data, bool outputSizeData, int timing, bo
497492 {
498493 if (p > 0 ) { out << ' |' ; }
499494 switch (run.metrics .stats [p].mseKind ) {
500- case MSE_LOG_INT :
501- out << " mse:" << run.metrics .stats [p].mse ;
502- break ;
503495 case MSE_LOG_HALF :
504496 case MSE_LOG_FLOAT :
505497 out << " log_mse:" << run.metrics .stats [p].mse ;
0 commit comments