Skip to content

Commit 2abb89a

Browse files
authored
Merge pull request #148 from linok-bc/master
add snemi benchmark
2 parents 363553b + 15c6d45 commit 2abb89a

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

docs/source/notes/installation.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ Please follow the steps below for a successful installation:
1717

1818
.. code-block:: bash
1919
20-
conda create -n pytc python=3.9
20+
conda create -y -n pytc python=3.9
2121
conda activate pytc
22-
conda install pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 cudatoolkit=11.3 mkl=2024.0.0 -c pytorch
22+
conda install -y pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 cudatoolkit==11.3.1 -c pytorch
2323
2424
More options to install PyTorch can be found `here <https://pytorch.org/get-started/locally/>`_. Our package has been tested with CUDA 10.2 and 11.4. Then please ensure that at least PyTorch **1.10.0** is installed:
2525

@@ -31,12 +31,15 @@ More options to install PyTorch can be found `here <https://pytorch.org/get-star
3131
2 - Install PyTorch Connectomics
3232
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3333

34-
.. code-block:: none
34+
.. code-block:: bash
3535
3636
git clone https://github.com/zudi-lin/pytorch_connectomics.git
3737
cd pytorch_connectomics
3838
pip install --editable .
3939
40+
# fix some dependency issues
41+
pip install pillow==9.4.0
42+
4043
We install the package in editable mode by default so that there is no need to
4144
re-install it when making changes to the code.
4245

docs/source/tutorials/neuron.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ be regarded as a more informative version of boundary map as it contains the aff
3030
The figure above shows examples of EM images, segmentation and affinity map from the SNEMI3D dataset. Since the
3131
3D affinity map has 3 channels, we can visualize them as RGB images.
3232

33+
34+
.. tip:: A notebook for visualizing results is provided for users in the `Github repository <https://github.com/zudi-lin/pytorch_connectomics/tree/master/notebooks/tutorial_benchmarks/snemi_benchmark.ipynb>`_. Users are able to download this notebook and produce evaluation results using a pretrained benchmark. Due to incompatiability with Colab and neuroglancer, it is recommended that users utilize a personal computer/HPC with at least 12GB of video RAM.
35+
3336
1 - Get the data
3437
^^^^^^^^^^^^^^^^^^
3538

@@ -54,6 +57,7 @@ For description of the SNEMI dataset please check `this page <https://vcg.github
5457
Provide the **YAML** configuration files to run training:
5558

5659
.. code-block:: none
60+
5761
source activate py3_torch
5862
python -u scripts/main.py \
5963
--config-base configs/SNEMI/SNEMI-Base.yaml \

0 commit comments

Comments
 (0)