Installation#

Note: The relational contrastive learning of SpaRCL 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.

SpaRCL can be installed via pip from PyPI.

pip install sparcl