diff --git a/fvcore/nn/print_model_statistics.py b/fvcore/nn/print_model_statistics.py index d4657e9..bc029d5 100644 --- a/fvcore/nn/print_model_statistics.py +++ b/fvcore/nn/print_model_statistics.py @@ -49,7 +49,7 @@ def fmt(x: float) -> str: return fmt(x / 1e6) + "M" if abs(x) > 1e2: return fmt(x / 1e3) + "K" - return str(x) + return fmt(x) def _pretty_statistics(