Skip to content

Commit

Permalink
Expand readme
Browse files Browse the repository at this point in the history
  • Loading branch information
brianreicher committed Dec 15, 2023
1 parent 737a091 commit 541ae3e
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ pip install git+https://github.com/brianreicher/autoseg.git
```

### Features

TODO

### Usage
This package is used for training, predicting, & evaluating deep learning segmentation models. The models are compatible with Zarr & N5 chunked image files, and volumes should be stored in the following format:
Expand Down Expand Up @@ -127,6 +127,20 @@ train_model(
```
Functonality exists in `autoseg.utils` and `autoseg.WebknossosToolkit()` to handle data fetching, transformations, and conversions.

2. After affinities have been predicted, the `autoseg.postprocess` module is used to run Mutex Watershed or Merge Tree instance segmentation. Users can pass in the desired affinities Zarr to segment, as follows:
```python
from autoseg import postprocess.get_validation_segmentation


get_validation_segmentation(
segmentation_style: str = "mws",
iteration="latest",
raw_file="./data.zarr",
raw_dataset="volumes/validation_raw",
out_file="./validation.zarr",
)
```
TODO

### Credits

Expand Down

0 comments on commit 541ae3e

Please sign in to comment.