Skip to content

Commit b2ebe34

Browse files
committed
renamed plugin + changed logo + added transfer learning + custom weights + added new trailmap from 3dunet
1 parent 101f650 commit b2ebe34

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+1337
-218
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,5 +91,5 @@ venv/
9191
########
9292
#project specific
9393
#dataset
94-
/src/napari_cellseg_annotator/models/dataset/
95-
/src/napari_cellseg_annotator/models/saved_weights/
94+
/src/napari_cellseg_3d/models/dataset/
95+
/src/napari_cellseg_3d/models/saved_weights/

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# napari-cellseg-annotator
1+
# napari-cellseg-3d
22

3-
[![License](https://img.shields.io/pypi/l/napari-cellseg-annotator.svg?color=green)](https://github.com/C_Achard/napari-cellseg-annotator/raw/main/LICENSE)
4-
[![PyPI](https://img.shields.io/pypi/v/napari-cellseg-annotator.svg?color=green)](https://pypi.org/project/napari-cellseg-annotator)
5-
[![Python Version](https://img.shields.io/pypi/pyversions/napari-cellseg-annotator.svg?color=green)](https://python.org)
6-
[![tests](https://github.com/C_Achard/napari-cellseg-annotator/workflows/tests/badge.svg)](https://github.com/C_Achard/napari-cellseg-annotator/actions)
7-
[![codecov](https://codecov.io/gh/C_Achard/napari-cellseg-annotator/branch/main/graph/badge.svg)](https://codecov.io/gh/C_Achard/napari-cellseg-annotator)
8-
[![napari hub](https://img.shields.io/endpoint?url=https://api.napari-hub.org/shields/napari-cellseg-annotator)](https://napari-hub.org/plugins/napari-cellseg-annotator)
3+
[![License](https://img.shields.io/pypi/l/napari-cellseg-3d.svg?color=green)](https://github.com/C_Achard/napari-cellseg-3d/raw/main/LICENSE)
4+
[![PyPI](https://img.shields.io/pypi/v/napari-cellseg-3d.svg?color=green)](https://pypi.org/project/napari-cellseg-3d)
5+
[![Python Version](https://img.shields.io/pypi/pyversions/napari-cellseg-3d.svg?color=green)](https://python.org)
6+
[![tests](https://github.com/C_Achard/napari-cellseg-3d/workflows/tests/badge.svg)](https://github.com/C_Achard/napari-cellseg-3d/actions)
7+
[![codecov](https://codecov.io/gh/C_Achard/napari-cellseg-3d/branch/main/graph/badge.svg)](https://codecov.io/gh/C_Achard/napari-cellseg-3d)
8+
[![napari hub](https://img.shields.io/endpoint?url=https://api.napari-hub.org/shields/napari-cellseg-3d)](https://napari-hub.org/plugins/napari-cellseg-3d)
99

10-
annotator for cell segmentation
10+
plugin for cell segmentation
1111

1212
----------------------------------
1313

@@ -32,9 +32,9 @@ If you get errors from MONAI regarding missing readers, please see [MONAI's opti
3232

3333
## Installation
3434

35-
You can install `napari-cellseg-annotator` via [pip]:
35+
You can install `napari-cellseg-3d` via [pip]:
3636

37-
pip install napari-cellseg-annotator
37+
pip install napari-cellseg-3d
3838

3939
For local installation, please run:
4040

@@ -52,7 +52,7 @@ To use the plugin, please run:
5252
```
5353
napari
5454
```
55-
Then go into Plugins > napari-cellseg-annotator, and choose which tool to use.
55+
Then go into Plugins > napari-cellseg-3d, and choose which tool to use.
5656

5757
- **Review**: This module allows you to review your labels, from predictions or manual labeling, and correct them if needed. It then saves the status of each file in a csv, for easier monitoring.
5858
- **Infer**: This module allows you to use pre-trained segmentation algorithms on volumes to automatically label cells.
@@ -75,7 +75,7 @@ the coverage at least stays the same before you submit a pull request.
7575
## License
7676

7777
Distributed under the terms of the [MIT] license,
78-
"napari-cellseg-annotator" is free and open source software
78+
"napari-cellseg-3d" is free and open source software
7979

8080
## Issues
8181

docs/conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# napari-cellseg-annotator documentation build configuration file, created by
3+
# napari-cellseg-3d documentation build configuration file, created by
44
# sphinx-quickstart on Thu Oct 1 00:43:18 2015.
55
#
66
# This file is execfile()d with the current directory set to its
@@ -51,7 +51,7 @@
5151
main_doc = "index"
5252

5353
# General information about the project.
54-
project = "napari-cellseg-annotator"
54+
project = "napari-cellseg-3d"
5555
copyright = "2022, Cyril Achard, Maxime Vidal"
5656
author = "Cyril Achard, Maxime Vidal"
5757

@@ -266,7 +266,7 @@
266266
(
267267
main_doc,
268268
"napari-cookiecutterplugin_name",
269-
"napari-cellseg-annotator Documentation",
269+
"napari-cellseg-3d Documentation",
270270
[author],
271271
1,
272272
)
@@ -285,7 +285,7 @@
285285
(
286286
main_doc,
287287
"napari-cookiecutterplugin_name",
288-
"napari-cellseg-annotator Documentation",
288+
"napari-cellseg-3d Documentation",
289289
author,
290290
"napari-cookiecutterplugin_name",
291291
"One line description of project.",

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Welcome to napari-cellseg-annotator's documentation!
1+
Welcome to napari-cellseg-3d's documentation!
22
===============================================================
33

44
.. toctree::

docs/res/custom_model_template.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Advanced : Declaring a custom model
44
=============================================
55

6-
To add a custom model, you will need a **.py** file with the following structure to be placed in the *src/napari_cellseg_annotator/models* folder:
6+
To add a custom model, you will need a **.py** file with the following structure to be placed in the *src/napari_cellseg_3d/models* folder:
77

88

99
::
@@ -15,7 +15,7 @@ To add a custom model, you will need a **.py** file with the following structure
1515

1616
def get_weights_file():
1717
return "weights_file.pth" # name of the weights file for the model,
18-
# which should be in *src/napari_cellseg_annotator/models/saved_weights*
18+
# which should be in *src/napari_cellseg_3d/models/saved_weights*
1919

2020

2121
def get_output(model, input):

docs/res/interface.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,50 +6,50 @@ Functions
66

77
open_url
88
**************************************
9-
.. autofunction:: napari_cellseg_annotator.interface::open_url
9+
.. autofunction:: napari_cellseg_3d.interface::open_url
1010

1111

1212
make_scrollable
1313
**************************************
14-
.. autofunction:: napari_cellseg_annotator.interface::make_scrollable
14+
.. autofunction:: napari_cellseg_3d.interface::make_scrollable
1515

1616

1717
make_group
1818
**************************************
19-
.. autofunction:: napari_cellseg_annotator.interface::make_group
19+
.. autofunction:: napari_cellseg_3d.interface::make_group
2020

2121

2222
make_container_widget
2323
**************************************
24-
.. autofunction:: napari_cellseg_annotator.interface::make_container_widget
24+
.. autofunction:: napari_cellseg_3d.interface::make_container_widget
2525

2626

2727
make_button
2828
**************************************
29-
.. autofunction:: napari_cellseg_annotator.interface::make_button
29+
.. autofunction:: napari_cellseg_3d.interface::make_button
3030

3131
make_combobox
3232
**************************************
33-
.. autofunction:: napari_cellseg_annotator.interface::make_combobox
33+
.. autofunction:: napari_cellseg_3d.interface::make_combobox
3434

3535
make_checkbox
3636
**************************************
37-
.. autofunction:: napari_cellseg_annotator.interface::make_checkbox
37+
.. autofunction:: napari_cellseg_3d.interface::make_checkbox
3838

3939

4040
combine_blocks
4141
**************************************
42-
.. autofunction:: napari_cellseg_annotator.interface::combine_blocks
42+
.. autofunction:: napari_cellseg_3d.interface::combine_blocks
4343

4444

4545
add_blank
4646
**************************************
47-
.. autofunction:: napari_cellseg_annotator.interface::add_blank
47+
.. autofunction:: napari_cellseg_3d.interface::add_blank
4848

4949

5050
open_file_dialog
5151
**************************************
52-
.. autofunction:: napari_cellseg_annotator.interface::open_file_dialog
52+
.. autofunction:: napari_cellseg_3d.interface::open_file_dialog
5353

5454

5555

docs/res/launch_review.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ Functions
77
launch_review
88
*******************************
99

10-
.. autofunction:: napari_cellseg_annotator.launch_review::launch_review
10+
.. autofunction:: napari_cellseg_3d.launch_review::launch_review

docs/res/model_framework.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Class : ModelFramework
88

99
Methods
1010
**********************
11-
.. autoclass:: napari_cellseg_annotator.model_framework::ModelFramework
11+
.. autoclass:: napari_cellseg_3d.model_framework::ModelFramework
1212
:members: __init__,load_dataset_paths,save_log,get_model, get_loss,display_status_report,load_dataset_paths,create_train_dataset_dict, load_image_dataset, load_label_dataset,load_results_path,load_model_path,get_device, update_default, remove_from_viewer
1313
:noindex:
1414

@@ -17,5 +17,5 @@ Methods
1717
Attributes
1818
*********************
1919

20-
.. autoclass:: napari_cellseg_annotator.model_framework::ModelFramework
20+
.. autoclass:: napari_cellseg_3d.model_framework::ModelFramework
2121
:members: _viewer, worker, docked_widgets, images_filepaths, labels_filepaths, results_path, model_path

docs/res/model_instance_seg.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ Functions
77

88
binary_connected
99
**************************************
10-
.. autofunction:: napari_cellseg_annotator.model_instance_seg::binary_connected
10+
.. autofunction:: napari_cellseg_3d.model_instance_seg::binary_connected
1111

1212
binary_watershed
1313
**************************************
14-
.. autofunction:: napari_cellseg_annotator.model_instance_seg::binary_watershed
14+
.. autofunction:: napari_cellseg_3d.model_instance_seg::binary_watershed
1515

1616
to_instance
1717
**************************************
18-
.. autofunction:: napari_cellseg_annotator.model_instance_seg::to_instance
18+
.. autofunction:: napari_cellseg_3d.model_instance_seg::to_instance
1919

2020
to_semantic
2121
**************************************
22-
.. autofunction:: napari_cellseg_annotator.model_instance_seg::to_semantic
22+
.. autofunction:: napari_cellseg_3d.model_instance_seg::to_semantic

docs/res/model_workers.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Class : LogSignal
1010

1111
Attributes
1212
************************
13-
.. autoclass:: napari_cellseg_annotator.model_workers::LogSignal
13+
.. autoclass:: napari_cellseg_3d.model_workers::LogSignal
1414
:members: log_signal
1515
:noindex:
1616

@@ -24,7 +24,7 @@ Class : InferenceWorker
2424

2525
Methods
2626
************************
27-
.. autoclass:: napari_cellseg_annotator.model_workers::InferenceWorker
27+
.. autoclass:: napari_cellseg_3d.model_workers::InferenceWorker
2828
:members: __init__, log, create_inference_dict, inference
2929
:noindex:
3030

@@ -39,7 +39,7 @@ Class : TrainingWorker
3939

4040
Methods
4141
************************
42-
.. autoclass:: napari_cellseg_annotator.model_workers::TrainingWorker
42+
.. autoclass:: napari_cellseg_3d.model_workers::TrainingWorker
4343
:members: __init__, log, train
4444
:noindex:
4545

0 commit comments

Comments
 (0)