Пример #1
0
void
Sopnet::createPipeline() {

	LOG_DEBUG(sopnetlog) << "creating pipeline" << std::endl;

	if (!_neuronSlices.isSet() && !_neuronSliceStackDirectories.isSet())
		UTIL_THROW_EXCEPTION(
				UsageError,
				"either an image stack of slices or a list of directory names has to be set as 'neuron slices' or 'neuron slice stack directories'");

	createBasicPipeline();
	createInferencePipeline();
	if (_groundTruth.isSet())
		createTrainingPipeline();

	_pipelineCreated = true;
}
Пример #2
0
void
Sopnet::createPipeline() {

	LOG_DEBUG(sopnetlog) << "re-creating pipeline" << std::endl;

	if (!_membranes || !_rawSections || !_groundTruth || !_segmentationCostFunctionParameters || !_priorCostFunctionParameters || !_forceExplanation) {

		LOG_DEBUG(sopnetlog) << "not all inputs present -- skip pipeline creation" << std::endl;
		return;
	}

	createBasicPipeline();

	createInferencePipeline();

	createTrainingPipeline();
}