@Deprecated public class Cellpose1TrainingAlgorithm extends JIPipeSingleIterationAlgorithm
JIPipeGraphNode.BaseDirectoryChangedEvent, JIPipeGraphNode.BaseDirectoryChangedEventEmitter, JIPipeGraphNode.BaseDirectoryChangedEventListener, JIPipeGraphNode.NodeSlotsChangedEvent, JIPipeGraphNode.NodeSlotsChangedEventEmitter, JIPipeGraphNode.NodeSlotsChangedEventListener, JIPipeGraphNode.Serializer
JIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterChangedEventEmitter, JIPipeParameterCollection.ParameterChangedEventListener, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEventEmitter, JIPipeParameterCollection.ParameterStructureChangedEventListener, JIPipeParameterCollection.ParameterUIChangedEvent, JIPipeParameterCollection.ParameterUIChangedEventEmitter, JIPipeParameterCollection.ParameterUIChangedEventListener
SLOT_PARAMETERS
Constructor and Description |
---|
Cellpose1TrainingAlgorithm(Cellpose1TrainingAlgorithm other)
Deprecated.
|
Cellpose1TrainingAlgorithm(JIPipeNodeInfo info)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
getBatchSize()
Deprecated.
|
int |
getDiameter()
Deprecated.
|
void |
getEnvironmentDependencies(List<JIPipeEnvironment> target)
Deprecated.
Gathers all known external environments
|
Cellpose2GPUSettings |
getGpuSettings()
Deprecated.
|
DataAnnotationQueryExpression |
getLabelDataAnnotation()
Deprecated.
|
double |
getLearningRate()
Deprecated.
|
int |
getMinTrainMasks()
Deprecated.
|
OptionalIntegerParameter |
getNuclearChannel()
Deprecated.
|
int |
getNumEpochs()
Deprecated.
|
OptionalPythonEnvironment |
getOverrideEnvironment()
Deprecated.
|
PretrainedLegacyCellpose2TrainingModel |
getPretrainedModel()
Deprecated.
|
OptionalIntegerParameter |
getSegmentedChannel()
Deprecated.
|
double |
getWeightDecay()
Deprecated.
|
boolean |
isCleanUpAfterwards()
Deprecated.
|
boolean |
isConcatenateDownsampledLayers()
Deprecated.
|
boolean |
isEnable3DSegmentation()
Deprecated.
|
boolean |
isGenerateConnectedComponents()
Deprecated.
|
boolean |
isTrainSizeModel()
Deprecated.
|
boolean |
isUseResidualConnections()
Deprecated.
|
boolean |
isUseStyleVector()
Deprecated.
|
protected void |
runIteration(JIPipeMultiIterationStep iterationStep,
JIPipeIterationContext iterationContext,
JIPipeGraphNodeRunContext runContext,
JIPipeProgressInfo progressInfo)
Deprecated.
Runs code on one data row
|
void |
setBatchSize(int batchSize)
Deprecated.
|
void |
setCleanUpAfterwards(boolean cleanUpAfterwards)
Deprecated.
|
void |
setConcatenateDownsampledLayers(boolean concatenateDownsampledLayers)
Deprecated.
|
void |
setDiameter(int diameter)
Deprecated.
|
void |
setEnable3DSegmentation(boolean enable3DSegmentation)
Deprecated.
|
void |
setGenerateConnectedComponents(boolean generateConnectedComponents)
Deprecated.
|
void |
setLabelDataAnnotation(DataAnnotationQueryExpression labelDataAnnotation)
Deprecated.
|
void |
setLearningRate(double learningRate)
Deprecated.
|
void |
setMinTrainMasks(int minTrainMasks)
Deprecated.
|
void |
setNuclearChannel(OptionalIntegerParameter nuclearChannel)
Deprecated.
|
void |
setNumEpochs(int numEpochs)
Deprecated.
|
void |
setOverrideEnvironment(OptionalPythonEnvironment overrideEnvironment)
Deprecated.
|
void |
setPretrainedModel(PretrainedLegacyCellpose2TrainingModel pretrainedModel)
Deprecated.
|
void |
setSegmentedChannel(OptionalIntegerParameter segmentedChannel)
Deprecated.
|
void |
setTrainSizeModel(boolean trainSizeModel)
Deprecated.
|
void |
setUseResidualConnections(boolean useResidualConnections)
Deprecated.
|
void |
setUseStyleVector(boolean useStyleVector)
Deprecated.
|
void |
setWeightDecay(double weightDecay)
Deprecated.
|
generateDataBatchesGenerationResult, getAdaptiveParameterSettings, getDataBatchGenerationSettings, getGenerationSettingsInterface, getIgnoredAnnotationColumns, getParallelizationBatchSize, isAllowEmptyIterationStep, isParameterUIVisible, isParameterUIVisible, runParameterSet, runPassThrough, supportsParallelization
createUIInputSlotIconDescriptionMenuItems, getDataInputSlotCount, getDataInputSlots, getFirstInputSlot, getNonParameterInputSlots, getParameterSlot, getParameterSlotAlgorithmSettings, getUIInputSlotIcon, getUIInputSlotIconBaseDimensions, onParameterChanged, run
canAutoPassThrough, canPassThrough, functionallyEquals, getDefaultCustomExpressionVariables, getRuntimePartition, isEnabled, isEnableDefaultCustomExpressionVariables, isPassThrough, isPostprocessor, isPreprocessor, isSkipped, loadExample, onDeserialized, reportValidity, runPassThrough, setEnabled, setPassThrough, setRuntimePartition, setSkipped
archiveTo, canUserDelete, clearLocations, clearSlotData, copySlotConfiguration, duplicate, emitNodeSlotsChangedEvent, fromJson, getAliasIdInParentGraph, getBaseDirectory, getBaseDirectoryChangedEventEmitter, getCategory, getCompartmentDisplayName, getCompartmentUUIDInGraphAsString, getCompartmentUUIDInParentGraph, getCustomDescription, getCustomName, getDependencies, getDisplayName, getFirstOutputSlot, getInfo, getInputSlot, getInputSlotMap, getInputSlotOrder, getInputSlots, getInputSlotsWithRole, getInternalStoragePath, getLastInputSlot, getLastOutputSlot, getName, getNewScratch, getNodeSlotsChangedEventEmitter, getNodeUILocationPerViewModePerCompartment, getNodeUILocationWithin, getOpenInputSlots, getOutputSlot, getOutputSlotMap, getOutputSlots, getOutputSlotsWithRole, getParentGraph, getProject, getProjectCompartment, getProjectDataDirs, getProjectDirectory, getRuntimeProject, getScratchBaseDirectory, getSlotConfiguration, getStoragePath, getTextDescription, getUUIDInParentGraph, hasInputSlot, hasOutputSlot, isBookmarked, isUiLocked, isVisibleIn, onSlotConfigurationChanged, renderInputSlots, renderOutputSlots, setBaseDirectory, setBookmarked, setCustomDescription, setCustomName, setInfo, setInternalStoragePath, setNodeUILocationPerViewModePerCompartment, setNodeUILocationWithin, setNodeUILocationWithin, setParentGraph, setProjectDirectory, setRuntimeProject, setScratchBaseDirectory, setSlotConfiguration, setStoragePath, setUiLocked, toggleSlot, toJson, updateGraphNodeSlots
getParameterChangedEventEmitter, getParameterStructureChangedEventEmitter, getParameterUIChangedEventEmitter, onParameterStructureChanged, onParameterUIChanged, registerSubParameter, registerSubParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generateDataBatchesDryRun
installUIOverrideParameterEditor, installUIParameterOptions
deserializeFromJsonNode, emitParameterChangedEvent, emitParameterStructureChangedEvent, emitParameterUIChangedEvent, getContextActions, getParameter, getParameterAccess, getParameterChangedEventEmitter, getParameterStructureChangedEventEmitter, getParameterUIChangedEventEmitter, serializeToJsonFile, serializeToJsonGenerator, serializeToJsonString, setParameter
generateValidityReport
onParameterUIChanged
onParameterStructureChanged
public Cellpose1TrainingAlgorithm(JIPipeNodeInfo info)
public Cellpose1TrainingAlgorithm(Cellpose1TrainingAlgorithm other)
public void getEnvironmentDependencies(List<JIPipeEnvironment> target)
JIPipeGraphNode
getEnvironmentDependencies
in class JIPipeGraphNode
target
- the list where the external environments will be gatheredpublic OptionalIntegerParameter getSegmentedChannel()
public void setSegmentedChannel(OptionalIntegerParameter segmentedChannel)
public OptionalIntegerParameter getNuclearChannel()
public void setNuclearChannel(OptionalIntegerParameter nuclearChannel)
public double getWeightDecay()
public void setWeightDecay(double weightDecay)
public boolean isGenerateConnectedComponents()
public void setGenerateConnectedComponents(boolean generateConnectedComponents)
public int getMinTrainMasks()
public void setMinTrainMasks(int minTrainMasks)
public boolean isTrainSizeModel()
public void setTrainSizeModel(boolean trainSizeModel)
public double getLearningRate()
public void setLearningRate(double learningRate)
public int getBatchSize()
public void setBatchSize(int batchSize)
public boolean isUseResidualConnections()
public void setUseResidualConnections(boolean useResidualConnections)
public boolean isUseStyleVector()
public void setUseStyleVector(boolean useStyleVector)
public boolean isConcatenateDownsampledLayers()
public void setConcatenateDownsampledLayers(boolean concatenateDownsampledLayers)
public int getDiameter()
public void setDiameter(int diameter)
public boolean isCleanUpAfterwards()
public void setCleanUpAfterwards(boolean cleanUpAfterwards)
public OptionalPythonEnvironment getOverrideEnvironment()
public void setOverrideEnvironment(OptionalPythonEnvironment overrideEnvironment)
public boolean isEnable3DSegmentation()
public void setEnable3DSegmentation(boolean enable3DSegmentation)
public DataAnnotationQueryExpression getLabelDataAnnotation()
public void setLabelDataAnnotation(DataAnnotationQueryExpression labelDataAnnotation)
public Cellpose2GPUSettings getGpuSettings()
public PretrainedLegacyCellpose2TrainingModel getPretrainedModel()
public void setPretrainedModel(PretrainedLegacyCellpose2TrainingModel pretrainedModel)
protected void runIteration(JIPipeMultiIterationStep iterationStep, JIPipeIterationContext iterationContext, JIPipeGraphNodeRunContext runContext, JIPipeProgressInfo progressInfo)
JIPipeSingleIterationAlgorithm
runIteration
in class JIPipeSingleIterationAlgorithm
iterationStep
- The data interfaceiterationContext
- The iteration contextrunContext
- the run contextprogressInfo
- the progress from the runpublic int getNumEpochs()
public void setNumEpochs(int numEpochs)
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.