Getting access to TruLens¶
These installation instructions assume that you have conda installed and added to your path.
Create a virtual environment (or modify an existing one).
conda create -n "<my_name>" python=3.7 # Skip if using existing environment. conda activate <my_name>
conda install tensorflow-gpu=1 # Or whatever backend you're using. conda install keras # Or whatever backend you're using. conda install matplotlib # For visualizations.
[Pip installation] Install the trulens pip package from PyPI.
pip install trulens
[Local installation] If you would like to develop or modify TruLens, you can download the source code by cloning the TruLens repo.
git clone https://github.com/truera/trulens.git
[Local installation] Install the TruLens repo.
cd trulens_explain pip install -e .