prototorch_models/prototorch/models/__init__.py

14 lines
379 B
Python
Raw Normal View History

2021-04-23 15:27:47 +00:00
from importlib.metadata import PackageNotFoundError, version
2021-04-21 11:13:28 +00:00
from .cbc import CBC
from .glvq import GLVQ, GMLVQ, GRLVQ, LVQMLN, ImageGLVQ, SiameseGLVQ
from .neural_gas import NeuralGas
from .vis import *
2021-04-21 11:13:28 +00:00
VERSION_FALLBACK = "uninstalled_version"
try:
__version__ = version(__name__.replace(".", "-"))
except PackageNotFoundError:
__version__ = VERSION_FALLBACK
2021-04-23 15:27:47 +00:00
pass