For instructions on installing anaconda on your machine (download the distribution that comes with python 3): https://www.anaconda.com/distribution/
After setting up anaconda, first install openslide:
sudo apt-get install openslide-toolsNext, use the environment configuration file located in docs/clam.yaml to create a conda environment:
conda env create -n clam -f docs/clam.yamlActivate the environment:
conda activate clamOnce inside the created environment, to install smooth-topk (first cd to a location that is outside the project folder and is suitable for cloning new git repositories):
git clone https://github.com/oval-group/smooth-topk.git
cd smooth-topk
python setup.py installWhen done running experiments, to deactivate the environment:
conda deactivate clamPlease report any issues in the public forum.
Note that CLAM uses openslide, which relies on the pixman library, and pixman version 0.38 has a known glitch that causes certain downsamples of some .svs files to be read incorrectly. See here for examples, discussion and possible workarounds (the exact solution might differ depending on how your conda environment is setup).
