From 42a97f6d7b6a700f8207f66a7520d15f0d02b994 Mon Sep 17 00:00:00 2001 From: zr_jin Date: Wed, 22 May 2024 22:29:38 +0800 Subject: [PATCH] Update env.py (#1635) --- icefall/env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icefall/env.py b/icefall/env.py index 373e9a9ff5..6ebc30f6b0 100644 --- a/icefall/env.py +++ b/icefall/env.py @@ -108,7 +108,7 @@ def get_env_info() -> Dict[str, Any]: "torch-version": str(torch.__version__), "torch-cuda-available": torch.cuda.is_available(), "torch-cuda-version": torch.version.cuda, - "python-version": sys.version[:3], + "python-version": ".".join(sys.version.split(".")[:2]), "icefall-git-branch": get_git_branch_name(), "icefall-git-sha1": get_git_sha1(), "icefall-git-date": get_git_date(),