Tracker

labml.tracker.set_queue(name: str, queue_size: int = 10, is_print: bool = False)[source]
labml.tracker.set_histogram(name: str, is_print: bool = False)[source]
labml.tracker.set_scalar(name: str, is_print: bool = False)[source]
labml.tracker.set_indexed_scalar(name: str)[source]
labml.tracker.set_image(name: str, is_print: bool = False)[source]
labml.tracker.set_text(name: str, is_print: bool = False)[source]
labml.tracker.set_indexed_text(name: str, title: Optional[str] = None, is_print: bool = False)[source]
labml.tracker.add(*args, **kwargs)[source]

This has multiple overloads

labml.tracker.add(values: Dict[str, any])[source]
labml.tracker.add(name: str, value: any)[source]
labml.tracker.add(**kwargs: any)[source]
labml.tracker.save(*args, **kwargs)[source]

This has multiple overloads

labml.tracker.save()[source]
labml.tracker.save(global_step: int)[source]
labml.tracker.save(values: Dict[str, any])[source]
labml.tracker.save(name: str, value: any)[source]
labml.tracker.save(**kwargs: any)[source]
labml.tracker.save(global_step: int, values: Dict[str, any])[source]
labml.tracker.save(global_step: int, name: str, value: any)[source]
labml.tracker.save(global_step: int, **kwargs: any)[source]
labml.tracker.namespace(name: str)[source]

Set a namespace for tracking

labml.tracker.reset()[source]

Reset indicators, for a new experiment

labml.tracker.set_global_step(global_step: Optional[int])[source]
labml.tracker.add_global_step(increment_global_step: int = 1)[source]
labml.tracker.get_global_step() → int[source]