@@ -14,21 +14,28 @@ If you do not have conda, we recommend installing [miniconda](https://docs.conda
1414operating system.
15153 . Install ` napari ` and ` napari-n2v ` :
1616 ``` bash
17- pip install " napari[all]==0.4.15 " napari-n2v
17+ pip install " napari[all]" napari-n2v
1818 ```
1919
20- > Note: napari-n2v was tested with TensorFlow 2.7 and 2.10, cuda 11.2 and cudnn
21- > 8.1 .
20+ > Note: napari-n2v was tested with TensorFlow 2.10 ( cuda 11.2 and cudnn 8.1) and
21+ TensorFlow 2.13 (cuda 11.8 and cudnn 8.6) on a Linux machine (NVIDIA A40-16Q GPU) .
2222
2323> ** Important** : In order to access the GPU with Tensorflow, it is necessary to
2424> export the CUDA library path in your conda environment. Installation
2525> instructions on the TensorFlow website do just that.
26+
2627> For TF 2.10, we recommand running the following in your environment:
2728> ``` bash
2829> mkdir -p $CONDA_PREFIX /etc/conda/activate.d
2930> echo ' export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_PREFIX/lib/' > $CONDA_PREFIX /etc/conda/activate.d/env_vars.sh
3031> ` ` `
3132
33+ > If you encounter the following problem with TF 2.13: " DNN library is not found" , you
34+ > can try to run in your environment:
35+ > ` ` ` bash
36+ > CUDNN_PATH=$( dirname $( python -c " import nvidia.cudnn;print(nvidia.cudnn.__file__)" ) )
37+ > export LD_LIBRARY_PATH=$LD_LIBRARY_PATH :$CONDA_PREFIX /lib/
38+ > ` ` `
3239
3340# # macOS
3441
@@ -37,7 +44,7 @@ operating system.
3744
38451. Set up env with napari and pyqt5
3946 ```bash
40- conda create -n napari-n2v -c conda-forge python=3.9 pyqt imagecodecs napari=0.4.15
47+ conda create -n napari-n2v -c conda-forge python=3.9 pyqt imagecodecs napari
4148 ```
42492. Install tensorflow following [Apple' s instructions](https://developer.apple.com/metal/tensorflow-plugin/)
43503. Install napari-n2v
0 commit comments