Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.16 KB

installation.md

File metadata and controls

38 lines (27 loc) · 1.16 KB

Installation

This codebase has been tested with conda environments. We document the environments we've used for testing below:

Evaluation (without VCSL)

conda create --name vsc -c pytorch -c nvidia -c conda-forge pytorch \
  torchvision scikit-learn numpy pandas matplotlib faiss-gpu tqdm \
  pytorch-cuda=11.7

We don't need pytorch for the codebase currently; this is just the environment I used.

Initializing git submodules is not required for this type of installation.

Baselines (including VCSL)

The VCSL codebase is used to localize matches for our baseline matching methods.

conda create --name vsc-vcsl -c pytorch -c nvidia -c conda-forge pytorch \
  torchvision scikit-learn numpy pandas matplotlib faiss-gpu tqdm \
  networkx loguru numba cython h5py pytorch-cuda=11.7
conda activate vsc-vcsl
pip install tslearn

h5py is not needed, but installing it stops some log spam.

VCSL can be used by installing it on your system, or by initializing git submodules, which adds it locally at vcsl_module/:

git submodule init

Run tests to check that VCSL localization tests are no longer skipped.