Skip to content

imagenetdataloggerviscomponent

imagenetdataloggerviscomponent

Module for the image netdata logger visualization components

Classes

ImageNetDataLoggerVisComponent

ImageNetDataLoggerVisComponent(
    image_loader,
    column_amount=1,
    max_output_count=10,
    **kwargs
)

Bases: NetDataLoggerVisComponent

Dashboard component to visualize the net data of an experiment (currently images)

Dashboard component to visualize the net data of an experiment (currently images)

Parameters:

  • image_loader (ImageLoader) –

    Image loader to load the net data images

  • column_amount (int, default: 1 ) –

    Amount of columns that are used to visualize the images

  • max_output_count (int, default: 10 ) –

    Max number of net data to be displayed

  • **kwargs
Source code in niceml/dashboard/imagenetdataloggerviscomponent.py
def __init__(
    self,
    image_loader: ImageLoader,
    column_amount: int = 1,
    max_output_count: int = 10,
    **kwargs,
):
    """
    Dashboard component to visualize the net data of an experiment (currently images)

    Args:
        image_loader: Image loader to load the net data images
        column_amount: Amount of columns that are used to visualize the images
        max_output_count: Max number of net data to be displayed
        **kwargs:
    """
    super().__init__(**kwargs)
    self.max_output = max_output_count
    self.column_amount = column_amount
    self.image_loader: ImageLoader = image_loader
Functions