_shared

Module Contents

Functions

get_base64_of_bin_file(png_file)

build_markup_for_logo(png_file[, background_position, ...])

add_sidebar_logo()

Based on: https://stackoverflow.com/a/73278825.

_methods_checkboxes(*, choices)

Get methods from a horizontal row of checkboxes.

_get_params(method)

_get_method_params(→ Dict[str, Dict[str, Any]])

_get_top_indices(predictions, n_top)

_get_top_indices_and_labels(*, predictions, labels)

Attributes

data_directory

model_directory

label_directory

_shared.data_directory[source]
_shared.model_directory[source]
_shared.label_directory[source]
_shared.get_base64_of_bin_file(png_file)[source]

Based on: https://stackoverflow.com/a/73278825.

_shared._methods_checkboxes(*, choices: Sequence)[source]

Get methods from a horizontal row of checkboxes.

_shared._get_params(method: str)[source]
_shared._get_method_params(methods: Sequence[str]) Dict[str, Dict[str, Any]][source]
_shared._get_top_indices(predictions, n_top)[source]
_shared._get_top_indices_and_labels(*, predictions, labels)[source]