csv_logger
CSVLogger
ΒΆ
Bases: Trace
Log monitored quantities in a CSV file.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
filename |
str
|
Output filename. |
required |
monitor_names |
Optional[Union[List[str], str]]
|
List of keys to monitor. If None then all metrics will be recorded. |
None
|
mode |
Union[str, Set[str]]
|
What mode(s) to execute this Trace in. For example, "train", "eval", "test", or "infer". To execute regardless of mode, pass None. To execute in all modes except for a particular one, you can pass an argument like "!infer" or "!train". |
('eval', 'test')
|