You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ We require these dependencies:
35
35
-[napari](https://napari.org/stable/)
36
36
-[elf](https://github.com/constantinpape/elf)
37
37
38
-
We recommend to use conda and provide two conda environment files with all necessary requirements:
38
+
We recommend to use conda and provide two environment files with all necessary requirements:
39
39
-`environment_gpu.yaml`: sets up an environment with GPU support.
40
40
-`environment_cpu.yaml`: sets up an environment with CPU support.
41
41
@@ -62,6 +62,18 @@ And install our napari applications and the `micro_sam` library via
62
62
pip install -e .
63
63
```
64
64
65
+
**Troubleshooting:**
66
+
67
+
- On some systems `conda` is extremely slow and cannot resolve the environment in the step `conda env create ...`. You can use `mamba` instead, which is a faster re-implementation of `conda`. It can resolve the environment in less than a minute on any system we tried. Check out [yhis link](https://mamba.readthedocs.io/en/latest/installation.html) for how to install `mamba`. Once you have installed it, run `mamba env create -f <ENV_FILE>.yaml` to create the env.
68
+
- Installation on MAC with a M1 or M2 processor:
69
+
- The pytorch installation from `environment_cpu.yaml` does not work with a MAC that has an M1 or M2 processor. Instead you need to:
- Install `micro_sam` by running `pip install -e .` in this folder.
76
+
65
77
## Usage
66
78
67
79
After installing the `micro_sam` python application the three interactive annotation tools can be started from the command line or from a python script (see details below).
@@ -142,14 +154,14 @@ TODO link to video tutorial
142
154
143
155
After installation the `micro_sam` python library is available, which provides several utility functions for using SegmentAnything with napari. Check out [examples/image_series_annotator.py](https://github.com/computational-cell-analytics/micro-sam/blob/master/examples/image_series_annotator_app.py) for an example application for segmenting objects in an image series built with it.
144
156
145
-
146
157
<!---
147
158
## Contributing
148
159
149
160
```
150
161
micro_sam <- library with utility functionality for using SAM for microscopy data
151
162
/sam_annotator <- the napari plugins for annotation
0 commit comments