Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.21 KB

INSTALLATION.md

File metadata and controls

25 lines (20 loc) · 1.21 KB

Installation instructions

You can set up an environment that contains all dependencies using mamba / conda. If you don't have mamba or conda installed yet see here for installation insructions.

You can then create an environment with all necessary dependencies. You have the choice between a cpu or gpu version:

mamba env create -f environment_cpu.yaml
mamba env create -f environment_gpu.yaml

Note: you may need to change the CUDA version to match your system here.

This will install the environment dl-for-micro with all necessary dependencies. After setting up the environment the following should work (activate the environment first with mamba/conda activate dl-for-micro):

$ python -c "import torch_em"
$ python -c "import micro_sam"