Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WNet merger #55

Closed
wants to merge 254 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
254 commits
Select commit Hold shift + click to select a range
0a31889
Fix style
C-Achard Jul 13, 2023
6a5fa93
Improve stats display test coverage
C-Achard Jul 13, 2023
b4b6280
Disable direct thread worker test for GH actions
C-Achard Jul 13, 2023
509d63c
Update tox.ini
C-Achard Jul 13, 2023
ccf0f77
Update .coveragerc
C-Achard Jul 13, 2023
2093927
More tests & fixes
C-Achard Jul 13, 2023
972a7cb
More worker tests
C-Achard Jul 13, 2023
d2fa556
More extensive training tests
C-Achard Jul 13, 2023
8808a05
Fix anisotropy calculation
C-Achard Jul 14, 2023
0ed9545
Normalization changes+ fix issues with default path
C-Achard Jul 17, 2023
be816ba
Create crop_data.py
C-Achard Jul 17, 2023
7a458f1
Added proper transform for normalization
C-Achard Jul 17, 2023
19758e1
Training improvments
C-Achard Jul 17, 2023
62e4438
Fix VNet training
C-Achard Jul 17, 2023
704c38d
Split workers file in smaller ones
C-Achard Jul 18, 2023
339db36
Centralized rand_gen
C-Achard Jul 18, 2023
47a67fd
Train and inference tweaks
C-Achard Jul 18, 2023
c804dcc
Working on dtype issues
C-Achard Jul 18, 2023
006df7b
Fixed issues with remapping
C-Achard Jul 18, 2023
d5f7d16
Docs + train WIP
C-Achard Jul 19, 2023
77e54c8
Update plugin_model_training.py
C-Achard Jul 19, 2023
35b4a4e
Update plugin_model_training.py
C-Achard Jul 19, 2023
3dcb2f5
Update model_TRAILMAP_MS.py
C-Achard Jul 19, 2023
4163658
Training and inference QoL
C-Achard Jul 19, 2023
7c9a501
Fix dtype for val labels and SegRes output
C-Achard Jul 19, 2023
563bd8c
Choose device UI
C-Achard Jul 19, 2023
94e22ca
Update worker_training.py
C-Achard Jul 19, 2023
5f283e3
Update interface.py
C-Achard Jul 19, 2023
7d4871f
Update model_framework.py
C-Achard Jul 19, 2023
e0dfc5a
Update model_SwinUNetR.py
C-Achard Jul 19, 2023
932a843
Update worker_training.py
C-Achard Jul 19, 2023
899b3bd
Update model_SwinUNetR.py
C-Achard Jul 19, 2023
f109889
Update worker_training.py
C-Achard Jul 19, 2023
2eb0624
Fix training volumes
C-Achard Jul 19, 2023
30d3336
Dice update
C-Achard Jul 19, 2023
649a966
Disable checkpoint plot save
C-Achard Jul 19, 2023
e232a30
Update worker_training.py
C-Achard Jul 19, 2023
e55f2ec
Restore as_discrete
C-Achard Jul 19, 2023
aab474a
Update worker_training.py
C-Achard Jul 19, 2023
da1f149
Update worker_training.py
C-Achard Jul 19, 2023
10e5991
Enforce tensor range [0,1]
C-Achard Jul 19, 2023
6a18d29
Add model output and labels to training view
C-Achard Jul 19, 2023
4490b01
Update worker_training.py
C-Achard Jul 19, 2023
7e09af2
Update worker_training.py
C-Achard Jul 19, 2023
4f17630
Config + disable remap in inference
C-Achard Jul 19, 2023
d3315dd
fix remap
C-Achard Jul 19, 2023
7b398d5
Usage QoL improvements
C-Achard Jul 19, 2023
bf7c716
Save w/ loss name and epochs
C-Achard Jul 19, 2023
496d256
Update worker_inference.py
C-Achard Jul 19, 2023
ccc693f
Update worker_inference.py
C-Achard Jul 19, 2023
e283baf
Change threshold for Swin
C-Achard Jul 19, 2023
5b6e049
Docs + change norm in inference
C-Achard Jul 19, 2023
7696f18
Update worker_inference.py
C-Achard Jul 19, 2023
4bdad2f
Normalize before ToTensor to avoid OOM from torch
C-Achard Jul 19, 2023
abe207a
Improve error handling for csv when aborting
C-Achard Jul 19, 2023
0dff8e2
Show LR from scheduler and fix memory device print
C-Achard Jul 19, 2023
09cc340
Update worker_training.py
C-Achard Jul 19, 2023
c3e6717
TODO cleanup
C-Achard Jul 19, 2023
d29cdce
Disable normalization for WNet
C-Achard Jul 19, 2023
f33ccd8
Fix loss function instantiation
C-Achard Jul 20, 2023
1ba48da
Update worker_inference.py
C-Achard Jul 20, 2023
0f81dde
Revert "Update worker_inference.py"
C-Achard Jul 20, 2023
792b002
Tooltip update
C-Achard Jul 20, 2023
d2adae6
Test disabling smoothing
C-Achard Jul 20, 2023
41e3da7
Remove smooth_nr
C-Achard Jul 20, 2023
6bb71bb
Fix shape label update
C-Achard Jul 21, 2023
b1b7c81
Update test_plugin_inference.py
C-Achard Jul 21, 2023
eb99f2c
Trying to fix silent error when loading incompatible weights
C-Achard Jul 21, 2023
1971d8d
Set training to load weights w/ strict
C-Achard Jul 24, 2023
3d8069e
Add LayerNorm
C-Achard Jul 24, 2023
20cba1f
Change softmax arg
C-Achard Jul 25, 2023
f85a605
Num group 2
C-Achard Jul 25, 2023
ea07ad4
Update model.py
C-Achard Jul 25, 2023
83d14e8
Update model.py
C-Achard Jul 25, 2023
aaf174e
Reduce depth of WNet
C-Achard Jul 25, 2023
622e9b3
Started WNet training UI
C-Achard Jul 26, 2023
fdcf797
Workable WNet training prototype
C-Achard Jul 27, 2023
ebaf588
Fixes
C-Achard Jul 27, 2023
2618ae1
Test fixes
C-Achard Jul 28, 2023
a4dddb8
Temp fix for CRF (#46)
C-Achard Jul 28, 2023
1041090
Temp fix for CRF (#46)
C-Achard Jul 28, 2023
e4b51d4
Minor fixes
C-Achard Jul 28, 2023
d0a190d
Tests & training
C-Achard Jul 28, 2023
06133cb
Fix tests + new weights
C-Achard Jul 28, 2023
af1188b
Fixes for UI and tests
C-Achard Jul 28, 2023
40e4806
Update test_and_deploy.yml
C-Achard Jul 28, 2023
a0d5968
Additional tests
C-Achard Jul 12, 2023
eab17e8
Fix style
C-Achard Jul 13, 2023
f516c62
Normalization changes+ fix issues with default path
C-Achard Jul 17, 2023
3492629
Create crop_data.py
C-Achard Jul 17, 2023
ca5428e
Added proper transform for normalization
C-Achard Jul 17, 2023
f2e45d5
Training improvments
C-Achard Jul 17, 2023
9ed88b1
Fix VNet training
C-Achard Jul 17, 2023
b95c0b7
Split workers file in smaller ones
C-Achard Jul 18, 2023
c72bbd2
Centralized rand_gen
C-Achard Jul 18, 2023
2fa6e64
Train and inference tweaks
C-Achard Jul 18, 2023
5b297df
Working on dtype issues
C-Achard Jul 18, 2023
219a624
Fixed issues with remapping
C-Achard Jul 18, 2023
0a85994
Docs + train WIP
C-Achard Jul 19, 2023
6fef000
Update plugin_model_training.py
C-Achard Jul 19, 2023
0f78d80
Update plugin_model_training.py
C-Achard Jul 19, 2023
ebc91eb
Update model_TRAILMAP_MS.py
C-Achard Jul 19, 2023
9091937
Training and inference QoL
C-Achard Jul 19, 2023
aa22e56
Fix dtype for val labels and SegRes output
C-Achard Jul 19, 2023
2e181ec
Choose device UI
C-Achard Jul 19, 2023
ef7e2f9
Update worker_training.py
C-Achard Jul 19, 2023
7e9e085
Update interface.py
C-Achard Jul 19, 2023
affb4ce
Update model_framework.py
C-Achard Jul 19, 2023
75d722c
Update model_SwinUNetR.py
C-Achard Jul 19, 2023
4b83681
Update worker_training.py
C-Achard Jul 19, 2023
b42e480
Update model_SwinUNetR.py
C-Achard Jul 19, 2023
71e4c9d
Update worker_training.py
C-Achard Jul 19, 2023
716fc1e
Fix training volumes
C-Achard Jul 19, 2023
12999d4
Dice update
C-Achard Jul 19, 2023
4a3f611
Disable checkpoint plot save
C-Achard Jul 19, 2023
1cb7c41
Update worker_training.py
C-Achard Jul 19, 2023
b254710
Restore as_discrete
C-Achard Jul 19, 2023
8242cab
Update worker_training.py
C-Achard Jul 19, 2023
5024bb9
Update worker_training.py
C-Achard Jul 19, 2023
c9aa0db
Enforce tensor range [0,1]
C-Achard Jul 19, 2023
3b60954
Add model output and labels to training view
C-Achard Jul 19, 2023
aa5d16b
Update worker_training.py
C-Achard Jul 19, 2023
a4a71b5
Update worker_training.py
C-Achard Jul 19, 2023
a35e776
Config + disable remap in inference
C-Achard Jul 19, 2023
976dc6d
fix remap
C-Achard Jul 19, 2023
de719f6
Usage QoL improvements
C-Achard Jul 19, 2023
f6c338d
Save w/ loss name and epochs
C-Achard Jul 19, 2023
b620795
Update worker_inference.py
C-Achard Jul 19, 2023
03c97d7
Update worker_inference.py
C-Achard Jul 19, 2023
efe213d
Change threshold for Swin
C-Achard Jul 19, 2023
71abc21
Docs + change norm in inference
C-Achard Jul 19, 2023
91ff7c3
Update worker_inference.py
C-Achard Jul 19, 2023
821f11b
Normalize before ToTensor to avoid OOM from torch
C-Achard Jul 19, 2023
c4b864b
Improve error handling for csv when aborting
C-Achard Jul 19, 2023
5edd040
Show LR from scheduler and fix memory device print
C-Achard Jul 19, 2023
ed865a9
Update worker_training.py
C-Achard Jul 19, 2023
5b994f5
TODO cleanup
C-Achard Jul 19, 2023
95a293e
Disable normalization for WNet
C-Achard Jul 19, 2023
656d627
Fix loss function instantiation
C-Achard Jul 20, 2023
8958aec
Update worker_inference.py
C-Achard Jul 20, 2023
b94c574
Revert "Update worker_inference.py"
C-Achard Jul 20, 2023
02aa93b
Tooltip update
C-Achard Jul 20, 2023
b4125de
Test disabling smoothing
C-Achard Jul 20, 2023
045e558
Remove smooth_nr
C-Achard Jul 20, 2023
95cfbc4
Fix shape label update
C-Achard Jul 21, 2023
347e267
Update test_plugin_inference.py
C-Achard Jul 21, 2023
990ac97
Trying to fix silent error when loading incompatible weights
C-Achard Jul 21, 2023
85549ce
Set training to load weights w/ strict
C-Achard Jul 24, 2023
78f72dd
Fix tests + new weights
C-Achard Jul 28, 2023
8d0ff5d
Fixes for UI and tests
C-Achard Jul 28, 2023
ca57aa6
Update test_and_deploy.yml
C-Achard Jul 28, 2023
1377462
Fix dir for saving in tests
C-Achard Jul 28, 2023
f9a7f23
Finish rebase
C-Achard Jul 28, 2023
1f71ea7
Update test_and_deploy.yml
C-Achard Jul 28, 2023
fffed34
Fix tests + new weights
C-Achard Jul 28, 2023
e235087
Fix ETA precision
C-Achard Jul 28, 2023
0cbd2ec
Docstring update
C-Achard Jul 31, 2023
ed135a8
Update plugin_model_training.py
C-Achard Jul 31, 2023
f224e76
Update contrast limit when updating layers
C-Achard Jul 31, 2023
cbfe4ef
Update config.py
C-Achard Jul 31, 2023
3cb6a35
Fixed normalization
C-Achard Jul 31, 2023
7b14ef3
Update plugin_model_training.py
C-Achard Jul 31, 2023
267a9c1
Update workers_utils.py
C-Achard Jul 31, 2023
2b02750
Trying to fix input normalization
C-Achard Jul 31, 2023
8e8c827
Fix name mismatch
C-Achard Jul 31, 2023
e7af6f5
Fix decoder evaluation
C-Achard Jul 31, 2023
bde4cbc
Update dice calculation
C-Achard Jul 31, 2023
99c2dc1
Update dice coeff
C-Achard Jul 31, 2023
9770611
Update worker_training.py
C-Achard Jul 31, 2023
bca2262
Fix eval detach
C-Achard Jul 31, 2023
d75dbc5
Fix Dice list for WNet
C-Achard Jul 31, 2023
1283b08
Updated validation UI
C-Achard Jul 31, 2023
646c5a8
Tooltips and show_results update
C-Achard Jul 31, 2023
a6964ab
Plots update
C-Achard Jul 31, 2023
1eed4ea
Plot + log_parameters
C-Achard Jul 31, 2023
79724dd
Update worker_training.py
C-Achard Jul 31, 2023
7f3a118
Disable WANDB for now + log param tweaks
C-Achard Jul 31, 2023
385552b
UI/log tweaks
C-Achard Jul 31, 2023
c54ee26
Functional WNet training
C-Achard Jul 31, 2023
1f7c9ed
Clean exit / free memory attempt
C-Achard Jul 31, 2023
7bb5edc
Cleanup + tests
C-Achard Jul 31, 2023
01938fb
Deploy memory usage fix in inference as well
C-Achard Jul 31, 2023
133b8fc
Memory usage fix
C-Achard Jul 31, 2023
9b99c11
UI tweak
C-Achard Jul 31, 2023
d3414e8
WNet cleanup + supervised training improvements
C-Achard Aug 2, 2023
53dabb5
Change Dice metric include_background for WNet
C-Achard Aug 2, 2023
1b12c4a
Set better default LR across un/supervised
C-Achard Aug 2, 2023
e5a0be4
Update model.py
C-Achard Aug 2, 2023
c6243b8
Update WNet weights
C-Achard Aug 2, 2023
fe1a2f8
Fix default LR + sup. test
C-Achard Aug 2, 2023
6e9762a
Fix new unsup LR in tests
C-Achard Aug 2, 2023
420a641
Fix dir for saving in tests
C-Achard Jul 28, 2023
912e6bd
Testing fixes
C-Achard Aug 2, 2023
c1aecb8
Test unsupervised training and raise coverage
C-Achard Aug 2, 2023
d35da41
WNet eval test
C-Achard Aug 2, 2023
fb1b130
Fix order for model deletion
C-Achard Aug 2, 2023
e4b10a3
Extend supervised train tests
C-Achard Aug 2, 2023
0c3450a
Started docs update
C-Achard Aug 2, 2023
eaabb11
Update plugin_model_training.py
C-Achard Aug 2, 2023
885e15b
WANDB integration for WNet
C-Achard Aug 3, 2023
e4224a0
Colab training script
C-Achard Aug 3, 2023
22ee2ff
Update colab_training.py
C-Achard Aug 3, 2023
661ff57
Update colab_training.py
C-Achard Aug 3, 2023
979232e
Update colab_training.py
C-Achard Aug 3, 2023
f44202f
Update colab_training.py
C-Achard Aug 3, 2023
b016144
Update colab_training.py
C-Achard Aug 3, 2023
1d7e4ed
Added minimal Colab notebook
C-Achard Aug 3, 2023
de38e8f
ZeroCostDL4Mic-style notebook
C-Achard Aug 3, 2023
8dcc78d
Added WANDB to Colab notebook
C-Achard Aug 3, 2023
d7f5f44
Added softmax param
C-Achard Aug 4, 2023
22196e1
Fix reset of paths in training UI
C-Achard Aug 7, 2023
d2bb6dc
WNet visualization
C-Achard Aug 7, 2023
cf20143
Disable intensity transforms in WNet
C-Achard Aug 7, 2023
ab443dc
Fixed supervised loss saving
C-Achard Aug 7, 2023
c9fc447
Update view_wnet.ipynb
C-Achard Aug 7, 2023
ab46464
Update view_wnet.ipynb
C-Achard Aug 9, 2023
7e397f9
Fixed filepaths
C-Achard Aug 9, 2023
342b568
Fixed filepaths
C-Achard Aug 9, 2023
3cf7052
Added more checks for csv + fix eval batch size
C-Achard Aug 10, 2023
23b44a6
Utils+training fixes
C-Achard Aug 10, 2023
6e70b1b
Colab training improvements (#49)
Timokleia Aug 10, 2023
4e454c0
Fix paths in test (use pathlib)
C-Achard Aug 15, 2023
c72c5cc
Updated workers config
C-Achard Aug 15, 2023
7a4e31f
Improved Utilities (#44)
C-Achard Sep 19, 2023
d533a3b
Fixed parse_default_path test
C-Achard Sep 19, 2023
03b2b01
Merge branch 'cy/training' into cy/wnet-train
C-Achard Sep 21, 2023
83fa053
Merge branch 'cy/wnet-train' into cy/wnet-extras
C-Achard Sep 21, 2023
ef9c18c
Ignore wandb results in gitignore
C-Achard Sep 21, 2023
c43c995
Enable GH Actions tests on branch temporarily
C-Achard Sep 21, 2023
f12577a
Fixed deletion of Qt imports in interface
C-Achard Sep 21, 2023
b4b86f8
Reverted include_background=True in Dice
C-Achard Sep 21, 2023
6605081
Reintroduced best Dice channel seeking + refacto
C-Achard Sep 21, 2023
f6711c3
Improve filepath messages
C-Achard Sep 21, 2023
cdc7dde
Fix unsup image loading when not validating
C-Achard Sep 21, 2023
4bb359f
Reverted include_background=True in Dice
C-Achard Sep 21, 2023
3bf0585
Reintroduced best Dice channel seeking + refacto
C-Achard Sep 21, 2023
4cdb179
Improve filepath messages
C-Achard Sep 21, 2023
202b49e
Fix unsup image loading when not validating
C-Achard Sep 21, 2023
d79646a
Fixed deletion of Qt imports in interface
C-Achard Sep 21, 2023
328ef81
Fix training tests
C-Achard Sep 21, 2023
3eaf653
Added auto-check for which channel has foreground
C-Achard Sep 21, 2023
3f989b5
Fixed eval_batch_size assignment
C-Achard Sep 21, 2023
fc7735d
Fix training tests
C-Achard Sep 21, 2023
ec337f7
Experimental auto-discard
C-Achard Sep 22, 2023
c6c347a
Improved auto-discard utility
C-Achard Sep 22, 2023
7c3a696
Create experimental sliding window Voronoi-Otsu for large volumes
C-Achard Sep 22, 2023
be383df
Disable resize error handler
C-Achard Sep 26, 2023
8ae9a14
Docs update & jupyter-books port (#50)
C-Achard Nov 15, 2023
0c68c31
Update .gitignore
C-Achard Nov 15, 2023
6d84956
Merge branch 'cy/wnet-train' into cy/wnet-extras
C-Achard Nov 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 27 additions & 8 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,38 @@
name: Deploy Sphinx documentation to Pages
name: deploy

on:
push:
branches: # branch to trigger deployment
- main

# This job installs dependencies, build the book, and pushes it to `gh-pages`
jobs:
pages:
runs-on: ubuntu-20.04
build-and-deploy-book:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.8]
steps:
- id: deployment
uses: sphinx-notes/pages@v3
- uses: actions/checkout@v2

# Install dependencies
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
publish: false
- uses: peaceiris/actions-gh-pages@v3
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install jupyter-book

# Build the book
- name: Build the book
run: |
jupyter-book build docs/

# Deploy the book's HTML to gh-pages branch
- name: GitHub Pages action
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ${{ steps.deployment.outputs.artifact }}
publish_dir: docs/_build/html
1 change: 1 addition & 0 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
push:
branches:
- main
- cy/wnet-train
tags:
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
pull_request:
Expand Down
12 changes: 11 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -93,22 +93,27 @@ venv/
# written by setuptools_scm
**/_version.py

# WANDB
/wandb/


########
#project specific
#dataset, weights, old logos, requirements
/napari_cellseg3d/code_models/models/dataset/
/napari_cellseg3d/code_models/models/saved_weights/
/docs/res/logo/old_logo/
/docs/source/logo/old_logo/
/docs/source/code/_autosummary/
/reqs/
/loss_plots/
/wandb/
notebooks/csv_cell_plot.html
notebooks/full_plot.html
*.csv
*.png
notebooks/instance_test.ipynb
*.prof
/docs/source/code/_autosummary/*.rst

#include test data
!napari_cellseg3d/_tests/res/test.tif
Expand All @@ -118,3 +123,8 @@ notebooks/instance_test.ipynb
!napari_cellseg3d/_tests/res/wnet_test/lab/*.tif
!napari_cellseg3d/_tests/res/wnet_test/vol/*.tif
cov.syspath.txt

#include docs images
!docs/source/logo/*
!docs/source/images/*
napari_cellseg3d/dev_scripts/wandb
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ repos:
- id: trailing-whitespace
- id: check-yaml
- id: check-added-large-files
args: [--maxkb=5000]
- id: check-toml
# - repo: https://github.com/pycqa/isort
# rev: 5.12.0
Expand Down
2 changes: 1 addition & 1 deletion conda/napari_cellseg3d_m1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies:
- tifffile>=2022.2.9
- imageio-ffmpeg>=0.4.5
- torch>=1.11
- monai[nibabel,einops]>=0.9.0
- monai>=0.9.0
- tqdm
- nibabel
- scikit-image
Expand Down
196 changes: 0 additions & 196 deletions docs/Makefile

This file was deleted.

8 changes: 8 additions & 0 deletions docs/TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[//]: # (
TODO:
- [ ] Add a way to get the current version of the library
- [x] Update all modules
- [x] Better WNet tutorial
- [x] Setup GH Actions
- [ ] Add a bibliography
)
51 changes: 51 additions & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Book settings
# Learn more at https://jupyterbook.org/customize/config.html

title: napari-cellseg3d Documentation
author: Cyril Achard, Maxime Vidal, Timokleia Kousi, Mackenzie Mathis | Mathis Laboratory
logo: source/logo/logo_alpha.png

# Force re-execution of notebooks on each build.
# See https://jupyterbook.org/content/execute.html
execute:
execute_notebooks: force

# Define the name of the latex output file for PDF builds
latex:
latex_documents:
targetname: book.tex

# Add a bibtex file so that we can create citations
bibtex_bibfiles:
- references.bib

# Information about where the book exists on the web
repository:
url: https://github.com/AdaptiveMotorControlLab/CellSeg3d # Online location of your book
path_to_book: docs # Optional path to your book, relative to the repository root
branch: main # Which branch of the repository should be used when creating links (optional)

# Add GitHub buttons to your book
# See https://jupyterbook.org/customize/config.html#add-a-link-to-your-repository
html:
use_issues_button: true
use_repository_button: true

# Add auto-generated API docs
sphinx:
extra_extensions:
- 'sphinx.ext.napoleon'
- 'sphinx.ext.autodoc'
- 'sphinx.ext.autosummary'
- 'sphinx.ext.viewcode'
- 'sphinx.ext.autosectionlabel'
config:
add_module_names: False
autosectionlabel_prefix_document: True
autosummary_generate: True
autoclass_content: "both"
# templates_path: ['_templates']
exclude_patterns:
- '_build'
- '_templates'
# - 'napari_cellseg3d/__pycache__'
Loading