Skip to content

Commit

Permalink
Update readme with new options
Browse files Browse the repository at this point in the history
  • Loading branch information
lacan committed Nov 8, 2022
1 parent 7174455 commit 9d92a85
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,13 @@ import qupath.ext.biop.cellpose.Cellpose2D
def cellpose = Cellpose2D.builder("cyto") // Can choose "None" if you want to train from scratch
.channels("DAPI", "CY3") // or use work with .cellposeChannels( channel1, channel2 ) and follow the cellpose way
// .preprocess(ImageOps.Filters.gaussianBlur(1)) // Optional preprocessing QuPath Ops
// .epochs(500) // Optional: will default to 500
// .learningRate(0.2) // Optional: Will default to 0.2
// .batchSize(8) // Optional: Will default to 8
// .epochs(500) // Optional: will default to 500
// .learningRate(0.2) // Optional: Will default to 0.2
// .batchSize(8) // Optional: Will default to 8
// .minTrainMasks(5) // Optional: Will default to 5
.useGPU() // Optional: Use the GPU if configured, defaults to CPU only
// .modelDirectory( new File("My/folder/for/models")) // Optional place to store resulting model. Will default to QuPath project root, and make a 'models' folder
// .saveBuilder("My Builder")
// .saveBuilder("My Builder") // Optional: Will save a builder json file that can be reloaded with Cellpose2D.builder(File builderFile)
.build()
// Once ready for training you can call the train() method
Expand Down

0 comments on commit 9d92a85

Please sign in to comment.