MCPcopy Create free account

hub / github.com/IliaLarchenko/albumentations-demo / functions

Functions27 in github.com/IliaLarchenko/albumentations-demo

↓ 3 callersFunctionget_images_list
Return the list of images from folder Args: path_to_folder (str): absolute or relative path to the folder with images
src/utils.py:21
↓ 3 callersFunctionload_image
Load the image Args: image_name (str): name of the image path_to_folder (str): path to the folder with image bgr2rgb (bool
src/utils.py:33
↓ 2 callersFunctionload_augmentations_config
Load the json config with params of all transforms Args: placeholder_params (dict): dict with values of placeholders path_to_confi
src/utils.py:62
↓ 1 callersFunctionfill_placeholders
Fill the placeholder values in the config file Args: params (dict): original params dict with placeholders placeholder_params (dic
src/utils.py:77
↓ 1 callersFunctionget_arguments
Return the values of CLI params
src/utils.py:11
↓ 1 callersFunctionget_placeholder_params
(image)
src/utils.py:114
↓ 1 callersFunctionget_transormations_params
(transform_names: list, augmentations: dict)
src/visuals.py:94
↓ 1 callersFunctionmain
()
src/app.py:20
↓ 1 callersFunctionreplace_none
(string)
src/control.py:72
↓ 1 callersFunctionselect_image
Show interface to choose the image, and load it Args: path_to_images (dict): path ot folder with images interface_type (dict): mo
src/visuals.py:14
↓ 1 callersFunctionselect_num_interval
( param_name: str, limits_list: list, defaults, n_for_hash, **kwargs )
src/control.py:6
↓ 1 callersFunctionselect_several_nums
( param_name, subparam_names, limits_list, defaults_list, n_for_hash, **kwargs )
src/control.py:20
↓ 1 callersFunctionselect_transformations
(augmentations: dict, interface_type: str)
src/utils.py:123
↓ 1 callersFunctionshow_credentials
()
src/visuals.py:71
↓ 1 callersFunctionshow_docstring
(obj_with_ds)
src/visuals.py:104
↓ 1 callersFunctionshow_random_params
Shows random params used for transformation (from A.ReplayCompose)
src/utils.py:149
↓ 1 callersFunctionshow_transform_control
(transform_params: dict, n_for_hash: int)
src/visuals.py:53
↓ 1 callersFunctionupload_image
Uoload the image Args: bgr2rgb (bool): converts BGR image to RGB if True
src/utils.py:47
Functionget_params_string
Generate the string from the dict with parameters Args: param_values (dict): dict of "param_name" -> "param_value"
src/utils.py:103
Functionselect_RGB
(param_name, n_for_hash, **kwargs)
src/control.py:61
Functionselect_checkbox
(param_name, defaults, n_for_hash, **kwargs)
src/control.py:85
Functionselect_min_max
( param_name, limits_list, defaults_list, n_for_hash, min_diff=0, **kwargs )
src/control.py:41
Functionselect_radio
(param_name, options_list, n_for_hash, **kwargs)
src/control.py:79
Functionshow_logo
()
src/visuals.py:10
Functiontest_get_images_list
()
tests/test_utils.py:9
Functiontest_load_augmentations_config
()
tests/test_utils.py:26
Functiontest_load_image
()
tests/test_utils.py:16