Neural Network API

class supervisely_lib.api.neural_network_api.NeuralNetworkApi(api)[source]

Bases: supervisely_lib.api.module_api.CloneableModuleApi, supervisely_lib.api.module_api.RemoveableModuleApi

static info_sequence()[source]
static info_tuple_name()[source]

NamedTuple name - ModelInfo.

get_list(workspace_id, filters=None)[source]
get_info_by_id(id)[source]
download(id)[source]
download_to_tar(workspace_id, name, tar_path, progress_cb=None)[source]
download_to_dir(workspace_id, name, directory, progress_cb=None)[source]
generate_hash(task_id)[source]
upload(hash, archive_path, progress_cb=None)[source]
inference_remote_image(id, image_hash, ann=None, meta=None, mode=None)[source]
inference(id, img, ann=None, meta=None, mode=None, ext=None)[source]
get_output_meta(id, input_meta=None, inference_mode=None)[source]
get_deploy_tasks(model_id)[source]
get_training_metrics(model_id)[source]
create_from_checkpoint(task_id, checkpoint_id, model_name, change_name_if_conflict=True)[source]
InfoType

alias of supervisely_lib.api.module_api.ModelInfo