Skip to content

Commit

Permalink
fixes missing --verbose statement for cellpose 2 in training code
Browse files Browse the repository at this point in the history
  • Loading branch information
lacan committed Aug 4, 2022
1 parent b90099f commit 9b78185
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/qupath/ext/biop/cellpose/Cellpose2D.java
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,8 @@ private void runCellposeTraining() throws IOException, InterruptedException {

if (useGPU) cellposeArguments.add("--use_gpu");

if (cellposeSetup.getVersion().equals(CellposeSetup.CellposeVersion.CELLPOSE_1))
if ( cellposeSetup.getVersion().equals(CellposeSetup.CellposeVersion.CELLPOSE_1) ||
cellposeSetup.getVersion().equals(CellposeSetup.CellposeVersion.CELLPOSE_2) )
cellposeArguments.add("--verbose");

veRunner.setArguments(cellposeArguments);
Expand Down

0 comments on commit 9b78185

Please sign in to comment.