Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 715 Bytes

README.md

File metadata and controls

39 lines (25 loc) · 715 Bytes

ifcb-analysis

Running locally

Set up environment

Make sure you have fftw3-dev installed for computing Fourier transforms. On Debian-based OSes:

sudo apt install fftw3-dev

Build conda environment:

conda env create

Install testing dependencies with:

conda env update -f test-environment.yml

Set environment variable so Tensorflow knows where to look for things:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_PREFIX/lib/

Run tests

To run tests you'll need a CNN model to use. ifcb-analysis is configured to work with Keras models, which, for testing purposes, you can copy into src/python/tests/data.

With that in place, run:

pytest