8.1.1.1.1.6. blueoil.cmd.init

8.1.1.1.1.6.1. Module Contents

8.1.1.1.1.6.1.1. Functions

network_name_choices(task_type)

dataset_format_choices(task_type)

default_batch_size(task_type)

prompt(question)

Execute prompt answer

generate_image_size_validate(network_name)

Generate image_size_validate depending on task_type.

integer_validate(answers, current)

image_size_filter(raw)

save_config(blueoil_config, output=None)

ask_questions()

blueoil.cmd.init.task_type_choices = ['classification', 'object_detection', 'semantic_segmentation', 'keypoint_detection']
blueoil.cmd.init.classification_network_definitions
blueoil.cmd.init.object_detection_network_definitions
blueoil.cmd.init.semantic_segmentation_network_definitions
blueoil.cmd.init.keypoint_detection_network_definitions
blueoil.cmd.init.IMAGE_SIZE_VALIDATION
blueoil.cmd.init.classification_dataset_formats
blueoil.cmd.init.object_detection_dataset_formats
blueoil.cmd.init.semantic_segmentation_dataset_formats
blueoil.cmd.init.keypoint_detection_dataset_formats
blueoil.cmd.init.learning_rate_schedule_map
blueoil.cmd.init.network_name_choices(task_type)
blueoil.cmd.init.dataset_format_choices(task_type)
blueoil.cmd.init.default_batch_size(task_type)
blueoil.cmd.init.prompt(question)

Execute prompt answer

Parameters

question (list) – list of inquirer question

Returns: string of answer

blueoil.cmd.init.generate_image_size_validate(network_name)

Generate image_size_validate depending on task_type.

Parameters

network_name (string) – network name.

Returns: validate function.

blueoil.cmd.init.integer_validate(answers, current)
blueoil.cmd.init.image_size_filter(raw)
blueoil.cmd.init.save_config(blueoil_config, output=None)
blueoil.cmd.init.ask_questions()