Spaces:
Sleeping
Sleeping
File size: 489 Bytes
9060565 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
"""
Copyright © 2023 Howard Hughes Medical Institute, Authored by Carsen Stringer and Marius Pachitariu.
"""
from importlib.metadata import PackageNotFoundError, version
import sys
from platform import python_version
import torch
try:
version = version("cellpose")
except PackageNotFoundError:
version = "unknown"
version_str = f"""
cellpose version: \t{version}
platform: \t{sys.platform}
python version: \t{python_version()}
torch version: \t{torch.__version__}"""
|