ramjet.logging.wandb_logger¶
Code for a logging agent to wandb.
Module Contents¶
Classes¶
ExampleRequest |
A representation of a request for an example. |
WandbLoggable |
An object which is loggable to wandb. |
WandbLoggableLightCurve |
A wandb loggable light curve. |
WandbLoggableInjection |
A wandb loggable containing logging data for injecting a signal into a light curve. |
WandbLogger |
A class to log to wandb. |
WandbLoggerCallback |
A callback for the training loop to call to utilize the wandb logger. |
-
class
WandbLoggable[source]¶ Bases:
abc.ABCAn object which is loggable to wandb.
-
class
WandbLoggableLightCurve(light_curve_name: str, light_curve: LightCurve)[source]¶ Bases:
ramjet.logging.wandb_logger.WandbLoggableA wandb loggable light curve.
-
class
WandbLoggableInjection[source]¶ Bases:
ramjet.logging.wandb_logger.WandbLoggableA wandb loggable containing logging data for injecting a signal into a light curve.
-
class
WandbLogger[source]¶ A class to log to wandb.
-
loggable_types¶
-
classmethod
new(cls, entity: Optional[str] = None, project: Optional[str] = None)[source]¶ Creates a new logger.
Returns: The logger.
-
process_py_mapper_example_queues(self, epoch: int)[source]¶ Processes the example queues, logging the items to wandb.
-
request_examples_from_py_mapper_processes(self)[source]¶ Sends requests for examples to the other processes.
-
create_callback(self)[source]¶ Creates a callback for the fit loop to call the logger methods.
Returns: The callback.
-
create_request_queue_for_collection(self, name: str)[source]¶ Creates a queue to send requests for examples on.
Parameters: name – The name of the queue. Returns: The queue.
-
create_example_queue_for_collection(self, name: str)[source]¶ Creates a queue to receive examples on.
Parameters: name – The name of the queue. Returns: The queue.
-