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
+5-9Lines changed: 5 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -242,10 +242,6 @@ Here are some reasons we do it this way:
242
242
3. Lock the rectangles (`right click > Annotations > Lock`).
243
243
4. Draw your ground truth annotations within all of the rectangles. <!--You can also select each rectangle and run the `Spotiflow detection script template` with the `.createAnnotations()` line
244
244
not commented out in the builder (see *Prediction* instructions above) to use a pre-trained cellpose model as a start, but make sure you manually correct it to get proper ground truth!-->
245
-
246
-
> [!IMPORTANT]
247
-
> Any ground truth annotations must have **no classes** assigned.
248
-
249
245
5. Repeat this for as many images/regions of interest as you would like.
250
246
251
247
> [!WARNING]
@@ -265,9 +261,9 @@ Or you can download [Spotiflow_training_template.groovy](src/main/resources/scri
265
261
> or start with a custom model (see below). Please see the *Prediction* instructions above for information regarding the other builder parameters.
266
262
-->
267
263
268
-
The first thing the script will do is create a sub-folder in your project called `spotiflow-training` containing sub-folders `val` and `train`, followed by exporting the image(s)
269
-
that will be processed by `spotiflow`. The `train` folder will contain images of your training rectangles and your annotations converted to masks. The `val` folder will contain the
270
-
Validation data, which is also used by the `QC` script. If your Validation is not what you expect, you can check that the exported image(s) represent what you intended for `spotiflow` to train on.
264
+
The first thing the script will do is create a sub-folder in your project called `spotiflow-training` containing sub-folders `train` and `val`, followed by exporting the image(s)
265
+
that will be processed by `spotiflow`. The `train` folder will contain images of your training rectangles and a csv file including point coordinates. The `val` folder will contain the
266
+
Validation data, which is also used by the `QC` script.
271
267
272
268
Once the script successfully completes training, you will have a `models` sub-folder within your Project folder, which will contain your custom model, as well as a `QC` sub-folder with the output
273
269
of the QC script.
@@ -316,7 +312,7 @@ To fine-tune a pre-trained model, provide the name of this model to the `Spotifl
316
312
```
317
313
def pretrainedModel = 'general'
318
314
def spotiflow = Spotiflow.builder()
319
-
.setModelToFineTune(general)
315
+
.setModelToFineTune(pretrainedModel)
320
316
```
321
317
322
318
@@ -335,7 +331,7 @@ Basically, when you train using this extension:
335
331
In order to be as reproducible and sure of your results as possible, especially when it comes to publishing, these are
336
332
our current guidelines:
337
333
1. Use `saveBuilder()` which saves a JSON file of your SpotiflowBuilder, which can be reused with `SpotiflowBuilder(File builderFile)`. That way you will not lose the setting your did
338
-
2. Save the `spotiflow-training`, `QC` and `models` folders at the end of your training somewhere. This will contain everything that was made during training.
334
+
2. Save the `spotiflow-training` and `models` folders at the end of your training somewhere. This will contain everything that was made during training.
0 commit comments