Installation#

Note: The metric learning of SpaMetric can be accelerated by GPU. If you have an NVIDIA GPU, be sure to firstly install a version of PyTorch that supports it. Here is the installation guide of PyTorch.

SpaMetric can be installed via pip from PyPI.

pip install spametric