avalanche.evaluation.metrics.ram_usage_metrics

avalanche.evaluation.metrics.ram_usage_metrics(*, every=1, minibatch=False, epoch=False, experience=False, stream=False) List[avalanche.evaluation.metric_definitions.PluginMetric][source]

Helper method that can be used to obtain the desired set of plugin metrics.

Parameters
  • every – seconds after which update the maximum RAM usage

  • minibatch – If True, will return a metric able to log the minibatch max RAM usage.

  • epoch – If True, will return a metric able to log the epoch max RAM usage.

  • experience – If True, will return a metric able to log the experience max RAM usage.

  • stream – If True, will return a metric able to log the evaluation max stream RAM usage.

Returns

A list of plugin metrics.