_shared

Attributes

data_directory

model_directory

label_directory

Functions

get_base64_of_bin_file(png_file)

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

add_sidebar_logo()

Upload DIANNA logo to sidebar element.

add_sidebar_goddess_logo()

Upload DIANNA goddess logo to sidebar element.

_methods_checkboxes(*, choices, key)

Get methods from a horizontal row of checkboxes and the corresponding parameters.

_get_params(method, key)

_get_top_indices(predictions, n_top)

_get_top_indices_and_labels(*, predictions, labels)

reset_method()

reset_example()

Module Contents

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

Upload DIANNA logo to sidebar element.

Upload DIANNA goddess logo to sidebar element.

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

Get methods from a horizontal row of checkboxes and the corresponding parameters.

_shared._get_params(method: str, key)[source]
_shared._get_top_indices(predictions, n_top)[source]
_shared._get_top_indices_and_labels(*, predictions, labels)[source]
_shared.reset_method()[source]
_shared.reset_example()[source]