You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently started using Avalanche Continual Learning library to explore online continual learning techniques. My research involves experimenting with various selection strategies, and I aim to incorporate a custom metric that measures power consumption of CPU and GPU. To achieve this, I developed a plugin. However, when I run the experiments, the plugin's functions meant to calculate power consumption aren't being invoked. Curiously, when I test these functions separately, they work, and the metrics are computed. Additionally, the output is limited to a single value, which could be either CPU power, GPU power, or total power, instead of all three. I've included a screenshot for better understanding.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I recently started using Avalanche Continual Learning library to explore online continual learning techniques. My research involves experimenting with various selection strategies, and I aim to incorporate a custom metric that measures power consumption of CPU and GPU. To achieve this, I developed a plugin. However, when I run the experiments, the plugin's functions meant to calculate power consumption aren't being invoked. Curiously, when I test these functions separately, they work, and the metrics are computed. Additionally, the output is limited to a single value, which could be either CPU power, GPU power, or total power, instead of all three. I've included a screenshot for better understanding.
Here is the code I'm referencing.
Using the plugin as below:
interval = 500
output_file = "tegrastats_output.txt
error_file = "tegrastats_error.txt
tegrastats_metric = TegrastatsMetric(output_file, interval, error_file)
eval_plugin = EvaluationPlugin(
accuracy_metrics(experience=True, stream=True, trained_experience=True),
forgetting_metrics(experience=True, stream=True),
TegrastatsPluginMetric(tegrastats_metric),
timing_metrics(experience=True, stream=True),
loggers=[interactive_logger, text_logger]
)
Could someone advise me on what might be going wrong? Am I implementing the plugin correctly?
Kind regards,
Srinidhi
Beta Was this translation helpful? Give feedback.
All reactions